[Thread Prev][Thread Next][Index]

Re: [ferret_users] nc2mc



Dear Estanislao,
may I draw your attention to the ferret - capability to aggregate files over time or to form ensembles.
See:
http://ferret.pmel.noaa.gov/Ferret/documentation/users-guide/commands-reference/DEFINE

May be, this is a working alternative.

Best,
Martin

To get things comfortable and to have several aggregated data sets open at the same time, you may use the little script:
aggregate.jnl
\cancel mode verify
! aggregate.jnl
! Description: Generate a time aggregation and open the files

! Usage:         arg1
! GO aggregate file list

! arg 1 - file list defined by wildcards
! arg 2 - Data set label

! Example:
! go aggregate RUN*/ocean_day.nc4 1
!
define symbol agg_name = AggData$2
let file_list = SPAWN("ls -1 $1")
DEFINE DATA/AGGREGATE /T ($agg_name)=file_list
say "Defining data set ($agg_name)"
set mode/last verify



On 07/24/2017 11:52 AM, Estanislao Gavilan Pascual-Ahuir (PGR) wrote:

Dear ferreters,


I have created a mc file using nc2mc. When the time step is the same, I can use the mc file in ferret perfectly fine. However, if I merge in this mc file data from different times steps. I have the error A gap or overlap exists in time axis in ferret. When I mean data from different times steps I mean for example: from Jan to Feb the output data is 1 day, from Feb to March is 5 days..May I doing something wrong? Does nc2mc only work with constant time steps?


Kind regards,


Estanislao



-- 
Dr. Martin Schmidt
Leibniz-Institute for Baltic Sea Research
Seestrasse 15
D18119 Rostock
Germany

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

Privacy Policy | Disclaimer | Accessibility Statement