[gradsusr] display problem while saving

RAJEEVAN k rajeevancas at gmail.com
Fri May 7 01:46:24 EDT 2010


Hai,
 i want to plot precipitaion anomoly.i hv cmap data precip.mon.mean.nc.t
the gs file i used for this is.

the problem is that in the saved plot didplay did not came........please
help me
'reinit'
yyyy=1979
while(yyyy<=1981)
mmm=01
while(mmm<=12)

'sdfopen precip.mon.mean.nc'
'set time 'mmm''yyyy''
'set grid off'
'set grads off'
'set t 1 12'
'set gxout shaded'
*'set gxout contour'

'define monavg=ave(precip,t+1,t+36,12)'
'modify monavg seasonal'
'set t 1 last'
'define anom = precip-monavg'
*'set t 1 36'
'set lat 8 30'
'set lon 70 90'
'd anom'
'printim anomoly'mmm'.'yyyy'.jpg white'
'c'
mmm=mmm+1
endwhile
yyyy=yyyy+1
endwhile



error shows likes this

Syntax Error:  Invalid Date/Time value.
  Missing month abbreviation or 'z' delimiter
SET error:  Missing or invalid arguments for TIME option
Defined variable is now climatological
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20100507/cc43cd1c/attachment-0003.html 


More information about the gradsusr mailing list