[Thread Prev][Thread Next][Index]
[ferret_users] Descriptive file
- To: ferret_users@xxxxxxxx
- Subject: [ferret_users] Descriptive file
- From: Steeven Paul Yerraguntla <steevenpaul@xxxxxxxxx>
- Date: Tue, 28 Dec 2010 17:26:10 +0530
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:from:date :message-id:subject:to:content-type; bh=HmOhoeHNpDQY0wDd3UzDcd5ZIdv7yXVSgu5cYtDCpNA=; b=lB27BVK7QYE4WeNDjP+soQh2zdGQQZsY/8ZdmVWv1N0/FRzuFRQo3/oNVqV8mLPtXT tidM4yrCyjmJxanXo2M1E4OoyL8x5lNeDtpekxblqR4ydPv6gvbubZ6Kk3bRkTwj89nA QC2nlXe45dbYO1C3FFJZGzGrGEjm4jI89WdCQ=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type; b=dHk8khU0+5gWfXKAxx3F9tN15T1jhlmYVB3oD/2ksLmnZY5YL9k5xhY47+kjuRPSMS O3O+jgPat+QN37ZckdLI9d/SPGTwaF1xfGQeqBq9Zac+2gMJ87jPvHyq1eXaLgefSA2j dfdS6LQoaJPmJDo7XE4NwZFb8o0Wk5ZfCTdDs=
- Sender: owner-ferret_users@xxxxxxxx
Dear ferreters,
I have 50 nc files, each file consists of 12 months (l=1:12). I wanted to merge them to one cdf file or des file so that i can have l=1:600. when i used make_des, i am getting des file with only first file 12 month values(l=1:12) and interstingly showing no error message while running " perl make_des file1.cdf file2.cdf > test.des " or using output des file.
I used to define time axis and with help of time stamp i could append the files to a dummy file.cdf, if those files have single month. As each file having 12 time points, i do not know how to define time axis or merge all files in ferret.
ncdump of one of my files as follows.
netcdf evapr_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 evapr(time, lat, lon) ;
evapr:comments = "monthly mean evaporation rate" ;
evapr:units = "cm/yr" ;
evapr:scale_factor = 0.1 ;
evapr:missing_value = 32766. ;
short err(time, lat, lon) ;
err:comments = "monthly mean estimated error of evaporation rate" ;
err:units = "cm/yr" ;
err:scale_factor = 0.1 ;
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" ;
data:
lon = 0.5, 1.5, 2.5, 3.5, 4.5, 5.5, 6.5, 7.5, 8.5, 9.5, 10.5, 11.5, 12.5,
13.5, 14.5, 15.5, 16.5, 17.5, 18.5, 19.5, 20.5, 21.5, 22.5, 23.5, 24.5,
...................................................................................................
348.5, 349.5, 350.5, 351.5, 352.5, 353.5, 354.5, 355.5, 356.5, 357.5,
358.5, 359.5 ;
lat = -89.5, -88.5, -87.5, -86.5, -85.5, -84.5, -83.5, -82.5, -81.5, -80.5,
----------------------------------------------------------------------------------------------------------
75.5, 76.5, 77.5, 78.5, 79.5, 80.5, 81.5, 82.5, 83.5, 84.5, 85.5, 86.5,
87.5, 88.5, 89.5 ;
time = 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12 ;
}
I searched archives but could not find suitable thread for my problem. Please let me know how to make it out either with make_des or nc2mc or within ferret itself.
Thanks n regards,
- paul.
--
Steeven Paul Y
Research Fellow
National Institute of Oceanography(NIO)
Regional Center Visakhapatnam (RCW)
176 Lawsons Bay Colony
Visakhapatnam - 530001
[Thread Prev][Thread Next][Index]
Contact Us
Dept of Commerce /
NOAA /
OAR /
PMEL /
TMAP
Privacy Policy | Disclaimer | Accessibility Statement