[Thread Prev][Thread Next][Index]
[ferret_users] How to merge daily and monthly data file in Ferret
Hi all ,
I am new to ferret, I want to merge daily and monthly data, and want to make single file
my daily data looks like this
netcdf ws_oaflux_1985 {
dimensions:
time = UNLIMITED ; // (365 currently)
lat = 180 ;
lon = 360 ;
variables:
float lon(lon) ;
lon:long_name = "longitude" ;
lon:units = "degrees" ;
lon:range = "0.5 to 359.5" ;
float lat(lat) ;
lat:long_name = "latitude" ;
lat:units = "degrees" ;
lat:range = "89.5S to 89.5N" ;
int time(time) ;
time:units = "day" ;
time:comment = "Year 1985" ;
short wnd10(time, lat, lon) ;
wnd10:comments = "daily mean neutral wind speed at 10m" ;
wnd10:units = "m/s" ;
wnd10:scale_factor = 0.01 ;
wnd10:missing_value = 32766. ;
short err(time, lat, lon) ;
err:comments = "estimated error of analysed neutral wind speed at 10m" ;
err:units = "m/s" ;
err:scale_factor = 0.01 ;
err:missing_value = 32766. ;
// global attributes:
:creation_date = "Dec 2007" ;
:description = "WHOI Objectively Analyzed air-sea Fluxes (OAFlux) Project" ;
:project_PIs = "Lisan Yu, Bob Weller" ;
:website = "http://oaflux.whoi.edu" ;
}
yes? sh d
currently SET data sets:
1> ./ws_oaflux_1985.nc (default)
name title I J K L M N
WND10 1:360 1:180 ... 1:365 ... ...
ERR 1:360 1:180 ... 1:365 ... ...
yes? sh g wnd10
GRID GTL1
name axis # pts start end
LON LONGITUDE 360mr 0.5E 0.5W
LAT LATITUDE 180 r 89.5S 89.5N
normal Z
TIME T (day) 365 r 1 365
normal E
normal F
yes?
and my monthly data looks like this
netcdf ws_oaflux_1958 {
dimensions:
time = UNLIMITED ; // (12 currently)
lat = 180 ;
lon = 360 ;
variables:
float lon(lon) ;
lon:long_name = "longitude" ;
lon:units = "degrees" ;
lon:range = "0.5 to 359.5" ;
float lat(lat) ;
lat:long_name = "latitude" ;
lat:units = "degrees" ;
lat:range = "89.5S to 89.5N" ;
int time(time) ;
time:units = "month" ;
time:comment = "Year 1958" ;
short wnd10(time, lat, lon) ;
wnd10:comments = "monthly mean neutral wind speed at 10m" ;
wnd10:units = "m/s" ;
wnd10:scale_factor = 0.01 ;
wnd10:missing_value = 32766. ;
short err(time, lat, lon) ;
err:comments = "monthly mean estimated error of wind speed at 10m" ;
err:units = "m/s" ;
err:scale_factor = 0.01 ;
err:missing_value = 32766. ;
// global attributes:
:creation_date = "Dec 2007" ;
:description = "WHOI Objectively Analyzed air-sea Fluxes (OAFlux) Project" ;
:project_PIs = "Lisan Yu, Bob Weller" ;
:website = "http://oaflux.whoi.edu" ;
}
yes? sh d
currently SET data sets:
1> ./ws_oaflux_1958.nc (default)
name title I J K L M N
WND10 1:360 1:180 ... 1:12 ... ...
ERR 1:360 1:180 ... 1:12 ... ...
yes? sh g wnd10
GRID GTL1
name axis # pts start end
LON LONGITUDE 360mr 0.5E 0.5W
LAT LATITUDE 180 r 89.5S 89.5N
normal Z
TIME T (month) 12 r 1 12
normal E
normal F
yes?
those who know kindly help. I haven't done merging in Ferret before. I tried CDO to merge nc files but couldn't be done as I was getting some time axis error. and I tried to append but not worked.
Thanks in advance.
- Dona Clara
[Thread Prev][Thread Next][Index]
Contact Us
Dept of Commerce /
NOAA /
OAR /
PMEL /
Ferret
Privacy Policy | Disclaimer | Accessibility Statement