[ncl-talk] date question

Noble, Erik U. (GISS-611.0)[Science Collaborator] erik.noble at nasa.gov
Fri Dec 12 08:49:47 MST 2014


Hi. If I have a file that gives me dates broken up into different parts, how to I combine them to have an array of single dates (e.g. YYYYMMDD)

a = addfile("ERAI_GBI_dates_timeseries.nc","r")

yyyy = a->yr
mm = a->mon
dd = a->day
hh = a->hr

; how do I combine these to show yyyymmdd?

Sincerely,
- Erik -




-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20141212/48e7c2f6/attachment.html 


More information about the ncl-talk mailing list