First, the HDF5 spec allows for an offset superblock. A Panoply user was
trying to open an HDF file in which the superblock was offset 1,048,576
(512*2048) bytes, and the NJ library was throwing back an exception that
the dataset did not look like valid CDM.
Second, in a different case, the NJ library was throwing back just a
NullPointerException, with stack trace
java.lang.NullPointerException
at ucar.nc2.iosp.hdf5.H5header.extendDimension(H5header.java:536)
at ucar.nc2.iosp.hdf5.H5header.findDimensionLists(H5header.java:476)
at ucar.nc2.iosp.hdf5.H5header.makeNetcdfGroup(H5header.java:378)
at ucar.nc2.iosp.hdf5.H5header.makeNetcdfGroup(H5header.java:390)
at ucar.nc2.iosp.hdf5.H5header.makeNetcdfGroup(H5header.java:390)
at ucar.nc2.iosp.hdf5.H5header.read(H5header.java:182)