[netcdfgroup] segmentation fault using ncdump

Hello group,

Thank you to all who sent comments regarding extracting a grid point time series from a netcdf file. I used ncks to extract a single time series. But now I would like to convert it to an ASCII file. So I try using ncdump, but get a segmentation fault.

Here are the commands I used for the above:

[root@localhost climate_data]# ncks -H -d lat,48.218750 -d lon,-120.96880 hadcm_T.nc test_out.nc

[root@localhost climate_data]# ncdump -h test_out.nc
netcdf test_out {
dimensions:
       time = 1212 ;
       lat = 1 ;
       lon = 1 ;
variables:
       float Tds(time, lat, lon) ;
               Tds:missing_value = -999.99f ;
       float lat(lat) ;
               lat:units = "degrees_north" ;
       float lon(lon) ;
               lon:units = "degrees_east" ;
       float time(time) ;
               time:units = "days since 2000-01-01" ;

// global attributes:
:history = "Mon Nov 24 11:40:01 2008: ncks -H -d lat,48.218750 -d lon,-120.96880 hadcm_T.nc test_out.nc" ;
}

[root@localhost climate_data]# ncdump -v Tds, test_out.nc > test.cdl
Segmentation fault

Any ideas what the problem is? FYI, I am pretty sure the data is intact since I was able to look at the time series with ncview.

Rich


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