Due to the current gap in continued funding from the U.S. National Science Foundation (NSF), the NSF Unidata Program Center has temporarily paused most operations. See NSF Unidata Pause in Most Operations for details.
Hi, I'm getting this error trying to use the Java-NetCDF library to read a purportedly uncompressed HDF4 file:
[java] java.lang.IllegalStateException: unknown compression type =0[java] at ucar.nc2.iosp.hdf4.H4iosp$DataChunk.getByteBuffer(H4iosp.java:473) [java] at ucar.nc2.iosp.LayoutBBTiled.hasNext(LayoutBBTiled.java:128)[java] at ucar.nc2.iosp.IospHelper.readData(IospHelper.java:314)[java] at ucar.nc2.iosp.IospHelper.readDataFill(IospHelper.java:283)[java] at ucar.nc2.iosp.hdf4.H4iosp.readData(H4iosp.java:137) [java] at ucar.nc2.NetcdfFile.readData(NetcdfFile.java:1743) [java] at ucar.nc2.Variable._read(Variable.java:990) [java] at ucar.nc2.Variable.read(Variable.java:789) [java] at ucar.nc2.Variable.read(Variable.java:763)
Maybe compression type=0 just means 'no compression'? the file: ftp.ssec.wisc.edu/pub/incoming/MYD021KM.A2008349.1800.005.2009329084841.hdf_unpacked If there's a fix, can it also go into ncIdv.jar? Tom
netcdf-java
archives: