[ncl-talk] Sub: cd_calendar help
Guido Cioni
guidocioni at gmail.com
Sun Oct 8 11:32:41 MDT 2017
You should really take a look at the starting guide of NCL and to the documentation of the individual functions before posting questions here.
I’ve just checked your file and it seems that the time variable has the right attributes.
Something like this should work (NOT TESTED)
a=addfile("tmp2m.1995053100.time.grb2","r”)
time=a->forecast_time0
date_title= "Forecast for "+cd_string(time, "%d %c. %Y")+" at "+cd_string(time, "%H:%M")+" UTC”
Cheers
> Il giorno 08 ott 2017, alle ore 11:40, dale zuri <dalezuri at gmail.com> ha scritto:
>
> date = cd_calendar(r, -3)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20171008/fca382f9/attachment.html>
More information about the ncl-talk
mailing list