[gradsusr] OLR daily anomaly for DJF

Khetsiwe Khumalo theregoesthecat at yahoo.co.uk
Mon Dec 10 19:04:09 EST 2012


Dear GrADS users,

I am a novice in grads. Please I need help. I want to do olr daily anomaly for DJF season for 10years but i dont know how to do the looping in the script. Can anyone help me how to word the script so I do not have to do it for each day mannually. Currently my script look like this;

'reinit'
'set display color white'
'c'
'set grads off'
'set grid off'
'set mpdset hires'
'set map 1 1 5'
'sdfopen F:\Research\Data\olr.day.mean.nc'
'set lon 10 40'
'set lat -37 -20'
'set xlint 5'
'set ylint 5'
'define OLRave=ave(olr,time=21jan2001,time=21Jan2011,365)'
'set time 21Jan2011'
'define anom=olr-OLRave'
'd anom'

Thank you for your assistance.





 
"Every human being represents hands to work, and not just another mouth to feed. ..."
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20121211/10bfd596/attachment-0003.html 


More information about the gradsusr mailing list