<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">The 'modify' command does not calculate a daily climatology, and there is no way to do that directly in GrADS. You must use your own code and make decisions about how to handle leap days, filtering, and other complications. <div>--Jennifer<br><div><br><div><div>On Dec 8, 2010, at 4:23 AM, krishnamohan wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><br clear="all">Hai,<br><br>I was calculating daily climatology for 30 year ncep wind from 1979 to 2008 and i encountered a problem. As per grads tutorial i have given the following commands<br><br>'reinit'<br>'sdfopen /media/MEGA2/wind/ncep/uwind/level/u200/<a href="http://u200-1979-2009.nc">u200-1979-2009.nc</a>'<br> 'set grads off'<br>'set lat -20 40'<br>'set lon 30 180'<br>'set map 1 1 8'<br><br>'set t 1 365'<br>'define uclim = ave(uwnd, t+0,t+10958,365)'<br><br>and i am getting uclim properly<br> <br>but inorder to make it a climatological variable i used 'modify' function<br><br>'modify uclim seasonal'<br><br>then i got error<br><br>MODIFY Error: Invalid time scaling in defined variable, then i used<br> <br>'modify uclim diurnal'<br><br>will say 'Defined variable is now climatological' but is showing same pattern for all the days<br><br>As grads tutorial says <br><br><code>seasonal </code><span class="plaintext">- For creating monthly or multi-monthly climatologies</span><br><code>diurnal </code><span class="plaintext">- For creating climatologies over a time period less than a day</span><br><br>ie there are only options for monthly or less than a day calculation. what is the option for finding daily climatology using this method<br><br><br>-- <br> Krishnamohan.K.S<br>Junior Research Fellow<br>Department Of Atmospheric Sciences<br>Cochin University of Science and Technology<br>Cochin,India<br> _______________________________________________<br>gradsusr mailing list<br><a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>http://gradsusr.org/mailman/listinfo/gradsusr<br></blockquote></div><br><div apple-content-edited="true"> <span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><div style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><div>--</div><div>Jennifer M. Adams</div><div>IGES/COLA</div><div>4041 Powder Mill Road, Suite 302</div><div>Calverton, MD 20705</div><div><a href="mailto:jma@cola.iges.org">jma@cola.iges.org</a></div><div><br class="khtml-block-placeholder"></div><br class="Apple-interchange-newline"></span></span></div></span> </div><br></div></div></body></html>