On Tue, Sep 20, 2011 at 7:45 AM, Sudev Das M P <span dir="ltr">&lt;<a href="mailto:devdas.pnr@gmail.com">devdas.pnr@gmail.com</a>&gt;</span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hai,<br><br>I have 19 years monthly data sets for heat flux (net heat flux), <br><br>(<a href="http://nhf_1988.nc" target="_blank">nhf_1988.nc</a>, <a href="http://nhf_1989.nc" target="_blank">nhf_1989.nc</a>,......<a href="http://nhf_2006.nc" target="_blank">nhf_2006.nc</a>) starting from 1988 to 2006,<br>

<br>with each year having a separate file. I want to prepare monthly climatology <br><br>using these data files in GrADS. How to  do this in GrADS ? Hope to get<br><br>some valuable suggestion.<br><br><br></blockquote><div>
<br></div><div>There is more than one way of doing this, here is a solution using lats4d. First, write a template DDF or CTL to open these files are a single time series, call it nfh.ddf. Now, to create the january climatology enter:</div>
<div><br></div><div>% lats4d.sh -i nhf.ddf -o nhf_jan -time jan1998 jan2006 12 -mean -v</div><div><br></div><div>and repeat this for each month.  (There are also variants to have all the 12 months on a single file.) Also look at the NCO utilities.</div>
<div><br></div><div>   Arlindo</div><div><br></div></div>-- <br>Arlindo da Silva<br><a href="mailto:dasilva@alum.mit.edu">dasilva@alum.mit.edu</a><br>