This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.
Hi eleanora: it appears that you have a special IOSP loaded at runtime: org.ninjoworkstation.server.hdf5.Hdf5FileReader my tests show that the default HDF5 reader is working correctly. see http://www.unidata.ucar.edu/software/netcdf-java/reference/RuntimeLoading.html for how runtime loading works. John On 12/21/2010 1:56 AM, Eleonora Lypovetska wrote:
Dear John,I still have problems during the reading of the HDF5 file I sent you yesterday. The current netcdf-4.2 version cannot read the file also. Are you sure it should work?Thanks in advance EleonoraEXCEPTION: org.ninjoworkstation.fwk.server.importsystem.exceptions.DataFormatException: HDF5 data error: Problem during the HDF5 file reading: ...\import\radar\hdf5\in\nordrad.scan-dbz-0_5.kkr.20100327T170000Z.data at org.ninjoworkstation.server.hdf5.Hdf5FileReader.prepareFile(Hdf5FileReader.java:76) at org.ninjoworkstation.fwk.server.importsystem.FilesystemReader.prepareNextFile(FilesystemReader.java:653) at org.ninjoworkstation.fwk.server.importsystem.FilesystemReader.readNextData(FilesystemReader.java:359) at org.ninjoworkstation.fwk.server.importsystem.ImportAgent.doRead(ImportAgent.java:1061) at org.ninjoworkstation.fwk.server.importsystem.ImportAgent.doImportDataSource(ImportAgent.java:997) at org.ninjoworkstation.fwk.server.importsystem.ImportAgent.importData(ImportAgent.java:819) at org.ninjoworkstation.fwk.server.importsystem.PollingTrigger$PollingThread.run(PollingTrigger.java:235) Caused by: org.ninjoworkstation.fwk.common.com.exceptions.DataFormatException: Problem during the HDF5 file reading: Y:\Projekte\NinJo\release1.3-saf\import\radar\hdf5\in\nordrad.scan-dbz-0_5.kkr.20100327T170000Z.data at org.ninjoworkstation.data.hdf5.Hdf5Reader.readData(Hdf5Reader.java:39) at org.ninjoworkstation.server.hdf5.Hdf5FileReader.prepareFile(Hdf5FileReader.java:73)... 6 moreCaused by: java.io.IOException: Cant read ...\import\radar\hdf5\in\nordrad.scan-dbz-0_5.kkr.20100327T170000Z.data: not a valid CDM file.at ucar.nc2.NetcdfFile.open(NetcdfFile.java:737) at ucar.nc2.NetcdfFile.open(NetcdfFile.java:387) at ucar.nc2.NetcdfFile.open(NetcdfFile.java:357) at ucar.nc2.NetcdfFile.open(NetcdfFile.java:344) at ucar.nc2.NetcdfFile.open(NetcdfFile.java:332)at org.ninjoworkstation.data.hdf5.Hdf5Reader.readData(Hdf5Reader.java:34)... 7 more