[gradsusr] g2ctl/gribmap and 6hr/12hr GFS
Christopher Gilroy
chris.gilroy at gmail.com
Sat Nov 7 09:52:47 EST 2015
I've always been curious for those who run their plots using scripting
approaches and download in 3 or 6-hour increments, how do you handle past
hour 240?
For example, downloading 6hr files, starting at hr 0, t41=240 and then
t43=252 and I'm curious if there's a way to make t42=252, t43=264, etc. I'm
just looking for a way to make every t = a working timestep.
So as an example, if you made a looping grads script for all 384 hours,
using 6h files the only way I knew of to "get around" the 2 t-step
increments after 240 was doing something like:
i=1
while (i <= 65)
if (i <= 41)
trecord=i
endif
if (i=42)
trecord = 43
endif
if (i=43)
trecord = 45
endif
'd tmp2m'
The only reason I cared to do that even was because otherwise every other
image past hr240 would be blank since there is no t=42, t=44, etc.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20151107/61568f88/attachment.html
More information about the gradsusr
mailing list