[gradsusr] time stamp on map

saeed bayat saeedbayat7276 at gmail.com
Fri Nov 4 03:47:54 EDT 2011


Dear Sytske,
Suppose you have a nc data for a month with 30 timestep(daily). Try like
this:
ti = 1
while ti <= 31
open your file and do whatever you want
 'q time'
    res = subwrd(result,3)
    basedate = substr(res,4,12)
    basetime = substr(res,1,3)
    res = subwrd(result,6)
    baseday=substr(res,1,3)
draw  title whatever you want-['basedate'-'basetime']'
 'printim whatever you want-'ti'-'basedate'-'basetime'.gif x1300 y1000
white'
    ti = ti + 1
ENDWHILE
say

Good Luck

Saeed Bayat
M.A Student of Climatology
Department of Geography
Ferdowsi University of Mashhad(FUM) - Iran

On Thu, Nov 3, 2011 at 7:23 PM, Sytske Kimball <SKimball at usouthal.edu>wrote:

>  All,
>
> When drawing a map, does anyone know how to draw the date/time on it for
> which
> the map is valid (as defined in the .ctl file)?
>
> Thanks in advance for your help,
> Sytske
>
>
>
> Sytske (seets-kah) Kimball
> Professor of Meteorology
> Director, USA Mesonet
> Dept. of Earth Sciences
> University of South Alabama
> Mobile, AL
> phone (251) 460-7031
>        or (251) 445-4294
> fax       (251) 460-7886
> email   skimball at usouthal.edu
> web:   http://chiliweb.southalabama.edu/
>
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20111104/c3d676cd/attachment-0003.html 


More information about the gradsusr mailing list