<html><head><style type='text/css'>p { margin: 0; }</style></head><body><div style='font-family: arial,helvetica,sans-serif; font-size: 12pt; color: #000000'>Hi Luis,<div><br></div><div>I'm pretty sure I'm correct here. The grads documentation gives an example of how to make a climatology:</div><div><br></div><div><div>http://grads.iges.org/grads/gadoc/gradcomdmodify.html</div><div><br></div><div>Best regards,</div><div>Eric</div><div><br><hr id="zwchr"><b>From: </b>"Luis Blacutt" <luis.blacutt@gmail.com><br><b>To: </b>"GrADS Users Forum" <gradsusr@gradsusr.org><br><b>Sent: </b>Wednesday, April 3, 2013 5:43:20 PM<br><b>Subject: </b>Re: [gradsusr] Creating Climatology<br><br><p>Dear Eric, as far as I understand that instruction only will cause to repeat the same calculation 12 times<br>
Best regards<br>
Luis</p>
<div class="gmail_quote">El 03/04/2013 15:37, "Eric Altshuler" <<a href="mailto:ela@cola.iges.org" target="_blank">ela@cola.iges.org</a>> escribió:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><div style="font-size:12pt;font-family:arial,helvetica,sans-serif">Hello Luis,<div><br></div><div>The 'set t 1 12' line is definitely needed. It sets the dimension environment to vary in time (monthly in this case) over one year (1979) from January to December, which is what you need to do before calculating a monthly climatology. If the monthly dataset began in December rather than January, use 'set t 2 13' instead.</div>
<div><br></div><div>Eric<br><br><hr><b>From: </b>"Luis Blacutt" <<a href="mailto:luis.blacutt@gmail.com" target="_blank">luis.blacutt@gmail.com</a>><br><b>To: </b>"GrADS Users Forum" <<a href="mailto:gradsusr@gradsusr.org" target="_blank">gradsusr@gradsusr.org</a>><br>
<b>Sent: </b>Wednesday, April 3, 2013 2:02:18 PM<br><b>Subject: </b>Re: [gradsusr] Creating Climatology<br><br><div dir="ltr">Also, you don't need the<div>'set t 1 12' <br></div><div>command line, and I agree with Eric, that only line is what you need to calculate the average.</div>
</div><div class="gmail_extra"><br>
<br><div class="gmail_quote">On Wed, Apr 3, 2013 at 2:40 PM, Eric Altshuler <span dir="ltr"><<a href="mailto:ela@cola.iges.org" target="_blank">ela@cola.iges.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><div style="font-size:12pt;font-family:arial,helvetica,sans-serif">'clim=ave(precip,t+24,t=264,12)'<br><br><hr><b>From: </b>"leonardo" <<a href="mailto:leoclarke@yahoo.com" target="_blank">leoclarke@yahoo.com</a>><br>
<b>To: </b>"Grads Users" <<a href="mailto:gradsusr@gradsusr.org" target="_blank">gradsusr@gradsusr.org</a>><br><b>Sent: </b>Wednesday, April 3, 2013 1:31:41 PM<br><b>Subject: </b>[gradsusr] Creating Climatology<div>
<div><br><br><div style="font-size:10pt;font-family:arial,helvetica,sans-serif">Hello GrADS Users<br><br>I have a monthly dataset from 1979 to 2012.<br><br>I would like to calculate the climatology using 1981 - 2000.<br>
<br>The code that I have is given below, it uses 1979 - 2008.<br>"set t 1 12"<br>"clim = mean(precip,t+0,t=360,12)"<br>"modify clim seasonal"<br><br>Can anyone assist?<br><br>Regards<br>LC<br>
<br><div><br></div></div><br></div></div>_______________________________________________<br>gradsusr mailing list<br><a href="mailto:gradsusr@gradsusr.org" target="_blank">gradsusr@gradsusr.org</a><br><a href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
</div></div><br>_______________________________________________<br>
gradsusr mailing list<br>
<a href="mailto:gradsusr@gradsusr.org" target="_blank">gradsusr@gradsusr.org</a><br>
<a href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
<br></blockquote></div><br></div>
<br>_______________________________________________<br>gradsusr mailing list<br><a href="mailto:gradsusr@gradsusr.org" target="_blank">gradsusr@gradsusr.org</a><br><a href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
</div></div></div><br>_______________________________________________<br>
gradsusr mailing list<br>
<a href="mailto:gradsusr@gradsusr.org" target="_blank">gradsusr@gradsusr.org</a><br>
<a href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
<br></blockquote></div>
<br>_______________________________________________<br>gradsusr mailing list<br>gradsusr@gradsusr.org<br>http://gradsusr.org/mailman/listinfo/gradsusr<br></div></div></div></body></html>