[Thread Prev][Thread Next][Index]

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

Dear Dona Clara,

> 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, 

what do you want to do with the overlapping period?

> please explain how to define time axis for daily
> and monthly data and moving data into grid.

As I said, please read up on the "define axis" command in the manual.
You can find it here:


You'll need to decide if you want all data on a daily axis, or all
data on a monthly axis.  Once you decide that,

1)    define your new axis, covering 1958-2012
2)    define a new variable on the new axis, e.g.

      let new_montly_data = old_daily_data[gt=my_monthly_time_axis@ave]

3)    decide how to deal with duplicate data.  Do you want to average
      them, or choose daily over monthly?

4)    Assuming you want daily data where it is available, combine the
      two variables with something like

      let my_combined_data = if (new_monthly_data) then \
               new_monthly_data else old_monthly_data

Kind regards,
     Hein Zelle


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