[netcdfgroup] ncdump bug when filenames start with numbers

In  netcdf 4.0, if the netcdf file name starts with a number, ncdump barfs:

$ ncdump -h 2002.nc
ncdump: name begins with space or control-character: 2

However, simply soft-linking the file to have a name that doesn't start with
a number (with no
change to the contents of the file) makes ncdump work ok.

$ln -s 2002.nc test.nc ; ncdump -h test.nc ; rm test.nc

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