[Thread Prev][Thread Next][Index]

Re: [ferret_users] How to merge daily and monthly data file in Ferret

Thanks for reply,

Daily data I am having from 1985 to 2012 total 27 files, and monthly data I am having from 1958 to 2012 total 54 files, finally I want to create single file, please explain how to define time axis for daily and monthly data and moving data into grid.


- Dona Clara

----- Original Message -----
From: Hein Zelle <hein.zelle@xxxxxxxxxxxxx>
To: Don DNA <don_vbe@xxxxxxxxx>
Cc: Ferret users mailing list <ferret_users@xxxxxxxx>
Sent: Wednesday, April 3, 2013 1:05 PM
Subject: Re: [ferret_users] How to merge daily and monthly data file in Ferret

Dear Dona Clara,

> I am new to ferret, I want to merge daily and monthly data, and want
> to make single file

Could you explain what you want to achieve with "merging", exactly?  
I see you have a daily year for 1985, and a monthly year for 1958.  What
should be the end result?  A monthly file from 1958 until 1985 with
only the first and last year filled in?  Do you want to take some kind
of average of the two years?

To start, you could define your time axes a little more "properly" by
adding a time_origin and setting proper units for your time variables
in the netcdf file.  They should look something like

double time(time) ;
    time:units = "hour since 1980-01-14 14:00:00" ;
    time:time_origin = "14-jan-1980 14:00:00" ;

If you make a plot of your data, you should get proper time axis
labels below it with dates or months.  Otherwise ferret doesn't
"understand" the time axis, and won't be able to do much with your

If you can't modify your netcdf files, you can define a new axis in
Ferret instead.  Read up on "define axis" in the manual, and try to put
your variables on a valid ferret axis.

Kind regards,


Dr. Hein Zelle
Senior consultant meteorology & oceanography

Tel:        +31 (0)527-242299
Fax:        +31 (0)527-242016
E-mail:    hein.zelle@xxxxxxxxxxxxx
Website:    www.bmtargoss.com
Voorsterweg 28, 8316 PT Marknesse, the Netherlands
Postal address: P.O. Box 61, 8325 ZH Vollenhove, the Netherlands

Registered in The Netherlands, Registered no. 39060160.

Unless otherwise agreed by BMT ARGOSS in writing, all work,
services, goods or products supplied by BMT ARGOSS shall be subject
to and governed by BMT ARGOSS' own terms and conditions which are
available for inspection from BMT ARGOSS on request.

E-mail confidentiality notice and disclaimer:
The contents of this e-mail and any attachments are intended for the
use of the mail addressee(s) shown. If you are not that person, you
are not allowed to read it, to take any action based upon it or to
copy it, forward, distribute or disclose the contents of it and you
should please delete it from your system. BMT ARGOSS does not accept
liability for any errors or omissions in the context of this e-mail or
its attachments which arise as a result of internet transmission, nor
accept liability for statements which are those of the author and
clearly not made on behalf of BMT ARGOSS.

[Thread Prev][Thread Next][Index]
Contact Us
Dept of Commerce / NOAA / OAR / PMEL / Ferret

Privacy Policy | Disclaimer | Accessibility Statement