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

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 )'(



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