I don't want to do either averaging or daily to monthly or monthly to yearly
see first daily file has l length is 365(days), second may contains 366 days,
I want to simply merge like this 365+366....so on upto 2012, for daily data 365*27 files around 9855 l length should be,
have you seen ICOADS monthly data ?
like that I want to create grid for monthly data, if I plot by setting
set r/i=1:360/j=1:180/l=1
should result 1958 January 1st
set r/i=1:360/j=1:180/l=2
should result 1958 February 1st ...so on upto 2012
those who have done before please help.
-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 3:45 PM
Subject: 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:
http://ferret.pmel.noaa.gov/Ferret/documentation/users-guide/commands-reference/DEFINE
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
BMT ARGOSS
Tel: +31 (0)527-242299
Fax: +31 (0)527-242016
E-mail: hein.zelle@xxxxxxxxxxxxx
Website: www.bmtargoss.com
BMT ARGOSS b.v.
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.