Dear Maria this may help you to calc nino ares,<br><br>'reinit'
<br>'clear'
<br>'sdfopen /home/<a href="http://abc.nc">abc.nc</a>'
<br>'set t 1 12'
<br>'set lat -30 30'
<br>'tmean=ave(tos,t+1452,t=1812,12)'
<br>'modify tmean seasonal'
<br>'set gxout fwrite'
<br>'set fwrite /home/emi.grd'
<br>'Set t 1453 1812'
<br>'ta=(tos-tmean)'
<br>'set x 1'
<br>'set y 1'
<br> <br>'iod=aave(ta,lon=160,lon=210,lat=-5,lat=5)'
<br>*above is NINO4 index
<br>'iod=aave(ta,lon=210,lon=270,lat=-5,lat=5)'
<br>*above is NINO3 index
<br>'iod=(aave(ta,lon=50,lon=70,lat=-10,lat=10)-aave(ta,lon=90,lon=110,lat=-10,lat=0))'
<br>*above is iod mode index
<br>'iod=aave(ta,lon=190,lon=240,lat=-5,lat=5)'
<br>*above NINO3.4 index
<br> <br>'set t 1'
<br>xx=1453
<br>while (xx<1812)
<br>x1=xx+5
<br>x2=xx+8
<br>'set t 'xx
<br>'sxx0=ave(iod,t='x1',t='x2')'
<br>'set gxout fwrite'
<br>'d sxx0'
<br>xx=xx+12
<br>endwhile
<br>'disable fwrite'
<br><br><br>-- <br>Regards,<br>Mr. Nitin Patil <br>Research Fellow, Long Range Forecasting Division,<br>National Climate Centre,<br>India Meteorological Department,<br>Pune - 411005, INDIA.<br><br>