<div dir="ltr"><div>Dear Respected Users of GrADS<br></div>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.<br>
<br><div>'sdfopen C:\OpenGrADS\<a href="http://sst.mnmean.nc">sst.mnmean.nc</a>'<br>'q file'<br>'c'<br>'set mpdset hires'<br>'set lat -89.5 -50'<br>'set lon -180 179.5'<br>
'set mproj sps'<br>'set gxout shaded'<br>'z=ave(sst,t=2,t=4)'<br>'x=12'<br>'y=14'<br>'set t 2'<br>if(t<374)<br> 'zave=ave(sst,t+x,t+y)'<br> 'x=x+12'<br> 'y=y+12'<br>
'z=z+zave'<br>else<br>endif<br>'z1=z/30'<br>'set display color white'<br>'set frame off'<br>'set grid on 1 1 5'<br>'set annot 1 10'<br>'d z1' <br>'draw title Summer_Sea_Surface_Temp-1982-2012'<br>
'cbar'<br>'printim c:\opengrads\output\Summer_Sea_Surface_Temp-1982-2012.jpg x1024 y768'<br><br clear="all"><div><div dir="ltr"><div><span style="font-family:georgia,serif"><font size="1"><span style="color:rgb(76,17,48)"><span style="color:rgb(102,0,0)"><b>Kind Regards<br>
<br>Dr. Avinash Kumar</b></span><br></span><i>Polar Remote Sensing Division <br></i><span style="color:rgb(11,83,148)"><span style="color:rgb(7,55,99)"><b>National Centre for Antarctic & Ocean Research</b></span><br></span>Ministry of Earth Sciences, Government of India<br>
Headland Sada, Vasco-da-Gama, Goa 403 804, India<br><u> </u><span style="color:rgb(53,28,117)"></span></font></span></div>
<div><font><b><span style="color:rgb(53,28,117)"><i> </i></span></b></font></div></div></div>
</div></div>