<html><body><div style="color:#000; background-color:#fff; font-family:tahoma, new york, times, serif;font-size:18pt"><div><span>Dear GrADS users,</span></div><div style="color: rgb(0, 0, 0); font-size: 24px; font-family: tahoma,new york,times,serif; background-color: transparent; font-style: normal;"><br><span></span></div><div style="color: rgb(0, 0, 0); font-size: 24px; font-family: tahoma,new york,times,serif; background-color: transparent; font-style: normal;"><span>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;<br></span></div><div style="color: rgb(0, 0, 0); font-size: 24px; font-family: tahoma,new york,times,serif; background-color: transparent; font-style: normal;"><span style="font-size: 13px;">'reinit'<br>'set
display color white'<br>'c'<br>'set grads off'<br>'set grid off'<br>'set mpdset hires'<br>'set map 1 1 5'<br>'sdfopen F:\Research\Data\olr.day.mean.nc'<br>'set lon 10 40'<br>'set lat -37 -20'<br>'set xlint 5'<br>'set ylint 5'<br>'define OLRave=ave(olr,time=21jan2001,time=21Jan2011,365)'<br>'set time 21Jan2011'<br>'define anom=olr-OLRave'</span></div><div style="color: rgb(0, 0, 0); font-size: 13px; font-family: tahoma,new york,times,serif; background-color: transparent; font-style: normal;">'d anom'</div><div style="color: rgb(0, 0, 0); font-size: 13px; font-family: tahoma,new york,times,serif; background-color: transparent; font-style: normal;"><br></div><div style="color: rgb(0, 0, 0); font-size: 13px; font-family: tahoma,new york,times,serif; background-color: transparent; font-style: normal;">Thank you for your assistance.<br><span></span></div><div style="color: rgb(0, 0, 0); font-size: 24px; font-family: tahoma,new york,times,serif;
background-color: transparent; font-style: normal;"><br><span></span></div><div style="color: rgb(0, 0, 0); font-size: 24px; font-family: tahoma,new york,times,serif; background-color: transparent; font-style: normal;"><br><span></span></div><div style="color: rgb(0, 0, 0); font-size: 24px; font-family: tahoma,new york,times,serif; background-color: transparent; font-style: normal;"><br><span></span></div><div style="color: rgb(0, 0, 0); font-size: 24px; font-family: tahoma,new york,times,serif; background-color: transparent; font-style: normal;"><span><br></span></div><div> </div><div>"Every human being represents hands to work, and not just another mouth to feed. ..."</div></div></body></html>