Minor bug in shea_util.ncl in 6.1.2

From: Carl Schreck <carl_at_nyahnyahspammersnyahnyah>
Date: Tue Feb 12 2013 - 12:39:05 MST

Very minor bug to draw to your attention. In 6.1.2, it looks like you can't
load shea_util twice. I think there's a typo in an undef somewhere. See the
output below.


$ ncl
 Copyright (C) 1995-2013 - All Rights Reserved
 University Corporation for Atmospheric Research
 NCAR Command Language Version 6.1.2
 The use of this software is governed by a License Agreement.
 See http://www.ncl.ucar.edu/ for more details.
ncl 0> load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl"
ncl 1> load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_csm.ncl"
ncl 2> load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/contributed.ncl"
ncl 3> load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/shea_util.ncl"
ncl 4> load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/shea_util.ncl"
fatal:syntax error: line 4492 in file
$NCARG_ROOT/lib/ncarg/nclscripts/csm/shea_util.ncl before or near
function calc_day_values

fatal:Function identifier is defined
fatal:syntax error: line 4494 in file
$NCARG_ROOT/lib/ncarg/nclscripts/csm/shea_util.ncl before or near local

fatal:error in statement
fatal:Variable (opt) is still undefined, unable to reference attribute tstep
fatal:["Execute.c":8128]:Execute: Error occurred at or near line 4498 in
file $NCARG_ROOT/lib/ncarg/nclscripts/csm/shea_util.ncl

Carl J. Schreck III, PhD
Cooperative Institute for Climate and Satellites (CICS-NC)
North Carolina State University   |   NOAA's National Climatic Data Center
Email: carl@cicsnc.org   |   Tel: 828-257-3140
http://www.cyclonecenter.org/   |   http://monitor.cicsnc.org/mjo/

ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
Received on Tue Feb 12 12:39:36 2013

This archive was generated by hypermail 2.1.8 : Wed Feb 13 2013 - 09:25:58 MST