NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.
To learn about what's going on, see About the Archive Site.
Ed-
The following commands ~do not~ open the file: nigiri:Downloads ezaron$ ncdump -h ./ECMWF_ERA-40_subset.nc ncdump: ./ECMWF_ERA-40_subset.nc: No such file or directory nigiri:Downloads ezaron$ ncdump -h ./ECMWF_ERA-40_subset.nc.dods ncdump: ./ECMWF_ERA-40_subset.nc.dods: NetCDF: Unknown file formatnigiri:Downloads ezaron$ ncdump -h file://./ECMWF_ERA-40_subset.nc <file:///./ECMWF_ERA-40_subset.nc> ncdump: file://./ECMWF_ERA-40_subset.nc: <file:///./ECMWF_ERA-40_subset.nc:> NetCDF: I/O failure
The rules are: 1. it must be in the form of a file:// url; in your first two cases, ncdump (or nccopy) will think it is a normal netcdf file. 2. the file:// path must be absolute, which is uour third case. 3. the file:// path must not end in .dods because ncdump will add that itself.
netcdfgroup
archives: