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

Dennis Shea shea at ucar.edu
Sat Aug 9 19:56:22 MDT 2014


This is a known bug in 6.2.0. See:
     http://www.ncl.ucar.edu/future_release.shtml

The next release of NCL [6.2.1; in Auguust]  is a bug release for 6.2 0.
It will containe the corrected code.

Attached is a something you can use. Load it after contributed has been
loaded.


load "..../contributed.ncl"
load "./yyyymmddhh_to_yyyyfrac.ncl"



On Sat, Aug 9, 2014 at 7:34 PM, Joowan Kim <joowan at ucar.edu> wrote:

> 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
>
> _______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20140809/76dda79f/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: yyyymmddhh_to_yyyyfrac.ncl
Type: application/octet-stream
Size: 3589 bytes
Desc: not available
Url : http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20140809/76dda79f/attachment.obj 


More information about the ncl-talk mailing list