Saturday, January 3, 2009

GrADS code for a shaded contoured plot of Indian region

prompt 'Enter the keyword: '
pull key
'!mkdir scplot_'key
t=0
while t<30


'reinit'
'sdfopen monmeandata/'key'.mon.mean.nc'
'q file'
'set lat 0 40'
'set lon 60 100'
'set t 't
'set gxout shaded'
'd 'key
'cbarn'
'set gxout contour'
'd 'key
'draw xlab Longitude'
'draw ylab Latitude'



'printim scplot_'key'/'t'.jpg white'

t=t+1
endwhile

No comments: