-
Notifications
You must be signed in to change notification settings - Fork 179
java.lang.UnsupportedOperationException:****UNPROCESSED MESSAGE type = ExternalDataFiles(7) raw = 7 #27
Comments
Hi Rob: I havent seen an example of this before. Can you send me both files? What file format is the external file? Why do you do it that way? John On 8/21/2013 9:04 AM, Rob V. van Nieuwpoort wrote:
|
Hi John, Thanks for your quick reply! Cheers, Rob From: John Caron [mailto:[email protected]] Hi Rob: I havent seen an example of this before. Can you send me both files? What file format is the external file? Why do you do it that way? John On 8/21/2013 9:04 AM, Rob V. van Nieuwpoort wrote:
— |
Hi Rob: Im modifying the code to put out a warning but not fail when it sees a message type it doesnt understand. This will be in the 4.5.0 release. John ****UNPROCESSED MESSAGE type = ExternalDataFiles(7) raw = 7 Hi John, Thanks for your quick reply! Cheers, Rob |
OK, great news, thanks John! Rob From: John Caron [mailto:[email protected]] Hi Rob: Im modifying the code to put out a warning but not fail when it sees a message type it doesnt understand. This will be in the 4.5.0 release. John ****UNPROCESSED MESSAGE type = ExternalDataFiles(7) raw = 7 Hi John, Thanks for your quick reply! Cheers, Rob — |
Hi all,
I have an application that stores metadata in the HDF5 format, but the real "raw" data in a separate file. The HDF5 file refers to the raw file. I would like to use this library to parse the metadata. I don't have to read the external raw file, just the metadata in the HDF5. However, NetcdfFile.open bails out with this stack trace:
***_UNPROCESSED MESSAGE type = ExternalDataFiles(7) raw = 7
java.io.IOException: java.lang.UnsupportedOperationException: ***_UNPROCESSED MESSAGE type = ExternalDataFiles(7) raw = 7
at ucar.nc2.NetcdfFile.open(NetcdfFile.java:425)
at ucar.nc2.dataset.NetcdfDataset.openOrAcquireFile(NetcdfDataset.java:699)
at ucar.nc2.dataset.NetcdfDataset.openFile(NetcdfDataset.java:560)
at ucar.nc2.NCdumpW.print(NCdumpW.java:168)
at ucar.nc2.NCdumpW.main(NCdumpW.java:982)
Caused by: java.lang.UnsupportedOperationException: ****UNPROCESSED MESSAGE type = ExternalDataFiles(7) raw = 7
at ucar.nc2.iosp.hdf5.H5header$HeaderMessage.read(H5header.java:2714)
at ucar.nc2.iosp.hdf5.H5header$DataObject.readMessagesVersion2(H5header.java:2420)
at ucar.nc2.iosp.hdf5.H5header$DataObject.(H5header.java:2306)
at ucar.nc2.iosp.hdf5.H5header$DataObject.(H5header.java:2180)
at ucar.nc2.iosp.hdf5.H5header.getDataObject(H5header.java:2027)
at ucar.nc2.iosp.hdf5.H5header.access$600(H5header.java:70)
at ucar.nc2.iosp.hdf5.H5header$DataObjectFacade.(H5header.java:2073)
at ucar.nc2.iosp.hdf5.H5header.readGroupNew(H5header.java:3920)
at ucar.nc2.iosp.hdf5.H5header.access$900(H5header.java:70)
at ucar.nc2.iosp.hdf5.H5header$H5Group.(H5header.java:2153)
at ucar.nc2.iosp.hdf5.H5header$H5Group.(H5header.java:2118)
at ucar.nc2.iosp.hdf5.H5header.makeNetcdfGroup(H5header.java:472)
at ucar.nc2.iosp.hdf5.H5header.makeNetcdfGroup(H5header.java:473)
at ucar.nc2.iosp.hdf5.H5header.read(H5header.java:215)
at ucar.nc2.iosp.hdf5.H5iosp.open(H5iosp.java:128)
at ucar.nc2.NetcdfFile.(NetcdfFile.java:1521)
at ucar.nc2.NetcdfFile.open(NetcdfFile.java:813)
at ucar.nc2.NetcdfFile.open(NetcdfFile.java:422)
... 4 more
Now, I don't need netcdf to understand about the external file, but it would be nice if it would just ignore it or maybe log a warning. Or, even better, support the ExternalDataFiles.
Is there any way to work around this? Or maybe it is relatively easy to patch?
Kind regards,
Rob van Nieuwpoort
Netherlands eScience center
[email protected]
The text was updated successfully, but these errors were encountered: