[ncl-talk] "yyyymmddhh_yyyyfrac" is not working in version 6.2

Joowan Kim joowan at ucar.edu
Sat Aug 9 19:34:42 MDT 2014


Dear NCL users

I have been using "yyyymmddhh_yyyyfrac" function in contribute.ncl, and it
worked fine.
But it is suddenly not working in new NCL v6.2
Is there any one have the same issue?

New version of NCL seems to load "contribute.ncl" automatically, and it
override my old "contribute.ncl", so I can't avoid this issue.

Thanks!
Joowan


This is the error message -----------------------------
ncl 8> print(a)

Variable: a
Type: double
...
(0)     2000101012

ncl 9> b=yyyymmddhh_to_yyyyfrac(a,0)
fatal:Variable (nDay) is undefined
fatal:["Execute.c":8567]:Execute: Error occurred at or near line 7876 in
file /usr/local/ncarg/lib/ncarg/nclscripts/csm/contributed.ncl
fatal:["Execute.c":8567]:Execute: Error occurred at or near line 7937 in
file /usr/local/ncarg/lib/ncarg/nclscripts/csm/contributed.ncl
fatal:["Execute.c":8565]:Execute: Error occurred at or near line 9

ncl 10>





--
Joowan Kim
Atmospheric Chemistry Division
National Center for Atmospheric Research
PO Box 3000  Boulder, CO 80307
e-mail : joowan at ucar.edu
           joowan.k at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20140809/4d1a1c19/attachment.html 


More information about the ncl-talk mailing list