[gradsusr] extracting point data from amy .nc files
Huddleston, John
Huddleston at cira.colostate.edu
Mon Jun 14 12:40:46 EDT 2010
Fisseha
Use the ncecat command from the NCO Operators http://nco.sourceforge.net/ to concatenate the 2920 files (365 * 2 * 4) together into one file.
If the file is too big, you can use the ncks command from the operators to select out one or more parameters and then concatenate them into one file.
Set up a CTL file for the one big file. Establish the TDEF line to correspond to the concatenated data, e.g.
TDEF 2920 linear 00z1jan2006 6hr
You can then display an average of the point data as follows:
d ave(variable,t=1,t=2920)
where variable is the name in your CTL file for your parameter.
There probably are other ways to solve this; however, this will get you started looking at the data.
John Huddleston, PhD
Cooperative Institute for Research in the Atmosphere
From: gradsusr-bounces at gradsusr.org [mailto:gradsusr-bounces at gradsusr.org] On Behalf Of FISSEHA G. BERHANE
Sent: Monday, June 14, 2010 9:17 AM
To: gradsusr at gradsusr.org
Subject: [gradsusr] extracting point data from amy .nc files
Dear users,
I have .nc files that are 6 hourly for two years. How can i extract point data for the two years from all 6hourly data at once?
thanks in advance,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20100614/441306e0/attachment-0003.html
More information about the gradsusr
mailing list