[gradsusr] Problems in Multi-year Seasonal Timeseries
Dr. Avinash Kumar
kumaravinash13 at gmail.com
Tue Jan 21 07:22:25 EST 2014
Dear Respected Users of GrADS
I was trying to get 30 years seasonal mean (i.e. Summer JFM, Autumn AMJ,
Winter JAS, Spring OND) from monthly mean data of SST1982 Jan to 2012 Dec.
Hence I have proceed to script in given steps but I feel loop is not
considering while processing the data. I think I am able to get only one
year seasonal data. I would be highly appreciated if anyone correct this
script.
'sdfopen C:\OpenGrADS\sst.mnmean.nc'
'q file'
'c'
'set mpdset hires'
'set lat -89.5 -50'
'set lon -180 179.5'
'set mproj sps'
'set gxout shaded'
'z=ave(sst,t=2,t=4)'
'x=12'
'y=14'
'set t 2'
if(t<374)
'zave=ave(sst,t+x,t+y)'
'x=x+12'
'y=y+12'
'z=z+zave'
else
endif
'z1=z/30'
'set display color white'
'set frame off'
'set grid on 1 1 5'
'set annot 1 10'
'd z1'
'draw title Summer_Sea_Surface_Temp-1982-2012'
'cbar'
'printim c:\opengrads\output\Summer_Sea_Surface_Temp-1982-2012.jpg x1024
y768'
*Kind RegardsDr. Avinash Kumar*
*Polar Remote Sensing Division **National Centre for Antarctic & Ocean
Research*
Ministry of Earth Sciences, Government of India
Headland Sada, Vasco-da-Gama, Goa 403 804, India
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20140121/14346672/attachment.html
More information about the gradsusr
mailing list