[gradsusr] How to prepare monthly climatology in GrADS

James Ciarlo` james.ciarlo at physics.org
Wed Sep 21 04:01:21 EDT 2011


you can use CDO to merge the nc files into one file and then use grads for
the climatology

On 20 September 2011 16:49, Arlindo da Silva <dasilva at alum.mit.edu> wrote:

> On Tue, Sep 20, 2011 at 7:45 AM, Sudev Das M P <devdas.pnr at gmail.com>wrote:
>
>> Hai,
>>
>> I have 19 years monthly data sets for heat flux (net heat flux),
>>
>> (nhf_1988.nc, nhf_1989.nc,......nhf_2006.nc) starting from 1988 to 2006,
>>
>> with each year having a separate file. I want to prepare monthly
>> climatology
>>
>> using these data files in GrADS. How to  do this in GrADS ? Hope to get
>>
>> some valuable suggestion.
>>
>>
>>
> 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:
>
> % lats4d.sh -i nhf.ddf -o nhf_jan -time jan1998 jan2006 12 -mean -v
>
> 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.
>
>    Arlindo
>
> --
> Arlindo da Silva
> dasilva at alum.mit.edu
>
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20110921/b4c1c1fe/attachment-0003.html 


More information about the gradsusr mailing list