http://www.ncl.ucar.edu/Document/Functions/User_contributed/ut_string.shtml
I speculate you did not load the necessary library
load "$NCARG_ROOT/lib/ncarg/nclscripts/contrib/ut_string.ncl"
function ut_string (
time : numeric,
inFormat : string
)
On 08/09/2011 10:13 AM, Joe Grim wrote:
> Hi,
>
> Could someone help me find what I am doing wrong using the ut_string
> function? Here is the relevant section of code:
>
> <<
> printVarSummary(date_all)
> date_converted = ut_string(date_all,"")
>>>
>
> Here is the output:
>
> <<
> Copyright (C) 1995-2011 - All Rights Reserved
> University Corporation for Atmospheric Research
> NCAR Command Language Version 6.0.0
> The use of this software is governed by a License Agreement.
> See http://www.ncl.ucar.edu/ for more details.
>
> Variable: date_all
> Type: integer
> Total Size: 863008 bytes
> 215752 values
> Number of Dimensions: 1
> Dimensions and sizes: [date | 215752]
> Coordinates:
> Number Of Attributes: 1
> units : hours since 2010-06-01 00:00:00
> fatal:Undefined identifier: (ut_string) is undefined, can't continue
> fatal:Execute: Error occurred at or near line 172 in file
> get_biggest_cases.ncl
>
> 26.673u 0.432s 0:27.16 99.7% 0+0k 0+16io 0pf+0w
>>>
>
> Thanks for your help!
>
> Joe
> _______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
-- ====================================================== Dennis J. Shea tel: 303-497-1361 | P.O. Box 3000 fax: 303-497-1333 | Climate Analysis Section | Climate & Global Dynamics Div. | National Center for Atmospheric Research | Boulder, CO 80307 | USA email: shea 'at' ucar.edu | ====================================================== _______________________________________________ ncl-talk mailing list List instructions, subscriber options, unsubscribe: http://mailman.ucar.edu/mailman/listinfo/ncl-talkReceived on Tue Aug 9 10:21:05 2011
This archive was generated by hypermail 2.1.8 : Fri Aug 12 2011 - 11:48:30 MDT