[Thread Prev][Thread Next][Index]
Re: [ferret_users] Looping time step on plot
Hi,
The following should do it:
def ax/t="24-apr-2013 13:00":"24-apr-2013 14:00":`1/(24*3600)*10`/unit=day/t0=1-jan-1900 t360
let tv = t[gt=t360]
repeat/range=1:2:1/name=n ( \
let dk6 = DAYS1900TOYMDHMS(tv[l=`n`]);\
say `dk6[k=1],zw=4``dk6[k=2],zw=2``dk6[k=3],zw=2` / `dk6[k=4],zw=2``dk6[k=5],zw=2``dk6[k=6],zw=2` )
Cheers,
Paulo
On Thu, 2015-12-03 at 16:23 +0530, Nitin Patil wrote:
Dear ferret users,
I am having netcdf file with 360 time steps (for one hour with a interval of 10 sec). Using this file I am repeating plots to make an animation and need time step on the plots, for that I am attaching the script with 4 sample plots on that I need the time in the following way:
20130424 / 130000
20130424 / 130010
20130424 / 130020
20130424 / 130030
20130424 / 130040
and so on...................
If possible kindly suggest....
Thanks in advance!
--
Regards,
Nitin Patil
[Thread Prev][Thread Next][Index]
Contact Us
Dept of Commerce /
NOAA /
OAR /
PMEL /
Ferret
Privacy Policy | Disclaimer | Accessibility Statement