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


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/ 
>