Re: [netcdfgroup] Extracting time series from netCDF file (Jose Borrero)

  • To: netcdfgroup@xxxxxxxxxxxxxxxx
  • Subject: Re: [netcdfgroup] Extracting time series from netCDF file (Jose Borrero)
  • From: Jose Borrero <jborrero@xxxxxxx>
  • Date: Mon, 19 Nov 2012 22:12:57 -0500
  • Authentication-results: msg-ironport3.usc.edu; dkim=neutral (message not signed) header.i=none

NCO and option #2 below solved my problem.

Thanks everyone...

-jose


----- Original Message -----
From: Charlie Zender <zender@xxxxxxx>
Date: Monday, November 19, 2012 7:11 pm
Subject: Re: [netcdfgroup] Extracting time series from netCDF file (Jose 
Borrero)
To: netcdfgroup@xxxxxxxxxxxxxxxx

> Jose,
> 
> If I understand your question correctly then NCO is a
> not-terribly painful solution, nco.sf.net#binaries.
> Install it. Then try:
> 
> ncks -d lat,24.008 -d lon,60.008 -v ha in.nc ha.nc
> nc2xy ha.nc -Ftime/ha > ha.txt
> 
> or
> 
> ncks -C -H -s '%f\n' -v time in.nc > time.txt
> ncks -C -H -s '%f\n' -d lat,24.008 -d lon,60.008 -v ha in.nc > ha.txt
> paste time.txt ha.txt > out.txt
> 
> Good luck,
> cz
> -- 
> Charlie Zender, Earth System Sci. & Computer Sci.
> University of California, Irvine 949-891-2429 )'(
> 
> _______________________________________________
> netcdfgroup mailing list
> netcdfgroup@xxxxxxxxxxxxxxxx
> For list information or to unsubscribe,  visit: 
> http://www.unidata.ucar.edu/mailing_lists/ 
> 



  • 2012 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the netcdfgroup archives: