Re: [netcdf-java] Problem reading NetCDF4 from netcdfall-4.5.jar

Sorry, the last message was not finished

 I have file 2014.nc of NetCDF version 3.
 I used the latest ncks for Windows (released 1 Oct 2014) to rechunk my file
 ncks -4 --cnk_dmn lat,4 --cnk_dmn lon,4 --cnk_dmn time,512 2014.nc 2014_ch.nc

 The new file 2014_ch.nc can be read by WCT, for example.
 However, java code yields
 [ucar.nc2.NetcdfFile] DEBUG Using IOSP ucar.nc2.iosp.hdf5.H5iosp
 [ucar.nc2.iosp.hdf5.H5header] ERROR bad version 72 at filePos 22386
and throws exception

The code is
import ucar.nc2.NetcdfFile;
NetcdfFile nativeNetCDFFile = NetcdfFile.open(fullPath);

What is wrong?



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