[netcdfgroup] NetCDF4 problem

Hello,

 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);

I use the latest NetCDF4.5
http://www.unidata.ucar.edu/downloads/netcdf/netcdf-java-4/index.jsp

What is wrong?



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