Friday, February 6, 2009

Interannual variation of rainfall as bar chart(GrADS)

'reinit'
'open rf_5103.ctl'
'set lat 10'
'set lon 75'
'set grads off'
'set time 01jan1951 31Dec2003'
'define valr=aave(rf,lon=70,lon=80,lat=8,lat=13)'
'define mean=ave(valr,time=1oct,time=31dec)'
'set gxout bar'
'd mean'
'fprintf mean unni.txt'

No comments: