help with time-plot

Charles Seman Charles.Seman at NOAA.GOV
Fri Jun 20 12:06:24 EDT 2008


Eduardo,

Maybe the GrADS "modify" command may help?
http://grads.iges.org/grads/gadoc/gradcomdmodify.html
'set t 1 12'
'define sstclim = ave(sst, t+0, t=600, 12)'
'modify sstclim seasonal'
'set t 1 last'
'define anom = sst - sstclim'

Chuck


Eduardo Agosta Scarel wrote:
> Hello,
>
> I would like to plot an expression on time. The original data are
> monthly means. The expression is a lat-lon average estimated for each
> time (that is, month). If I fix lat and lon using the set command and
> l let time as the varying  dimensions, the plot is possible. However I
> would like to plot the expression on given interval of time, for
> instance, every 12 (that is a time-plot only for a given month).
>
> Does anybody know how to do this?
>
> I have tried doing this but it didn´t work
>
> 'set lat -50'
> 'set lon -100'
> 'set t 1 300 12'
>
> 'd ave(ave(z,lon=-60,lon=0),lat=-70,lat=-50)'
>
>
> Thank you.
>
> Eduardo

--

Please note that Charles.Seman at noaa.gov should be considered my NOAA
email address, not cjs at gfdl.noaa.gov.

********************************************************************
 Charles Seman                                Charles.Seman at noaa.gov
 U.S. Department of Commerce / NOAA / OAR
 Geophysical Fluid Dynamics Laboratory         voice: (609) 452-6547
 201 Forrestal Road                              fax: (609) 987-5063
 Princeton, NJ  08540-6649            http://www.gfdl.noaa.gov/~cjs/
********************************************************************

"The contents of this message are mine personally and do not necessarily
reflect any position of the Government or NOAA."



More information about the gradsusr mailing list