Grads time format
claudio cortes
claudiomet at GMAIL.COM
Mon Dec 3 16:56:32 EST 2007
In GraDS is there any function to control de date format output?
I have a script who extract values of a grib files and it's store in a
text file, but que month is not numerical.
'q time'
dat=subwrd(result,3)
hor=substr(dat,1,2)
dia=substr(dat,4,2)
mes=substr(dat,6,3)
ano=substr(dat,9,4)
..and my output is:
2007DEC0312 value value value ..etc...
..and I need the month in number (or the another option is postprocess
the file using perl or python).
Thanks...!
--
Claudio Cortes
www.claudiomet.cl.nu
Meteorologo
Laboratorio de Meteorologia y Calidad de Aire
Centro Nacional del Medio Ambiente (CENMA)
--------------------------------------------------------------------------------------
Claudio Cortes
www.claudiomet.cl.nu
Meteorologist
Meteorology and Air Quality Labs
National Enviroment Center, Chile (CENMA)
More information about the gradsusr
mailing list