you can use CDO to merge the nc files into one file and then use grads for the climatology<br><br><div class="gmail_quote">On 20 September 2011 16:49, Arlindo da Silva <span dir="ltr"><<a href="mailto:dasilva@alum.mit.edu" target="_blank">dasilva@alum.mit.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div></div><div>On Tue, Sep 20, 2011 at 7:45 AM, Sudev Das M P <span dir="ltr"><<a href="mailto:devdas.pnr@gmail.com" target="_blank">devdas.pnr@gmail.com</a>></span> wrote:<br>
</div></div><div class="gmail_quote"><div><div></div><div><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></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><font color="#888888">-- <br>Arlindo da Silva<br><a href="mailto:dasilva@alum.mit.edu" target="_blank">dasilva@alum.mit.edu</a><br>
</font><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>