-
Notifications
You must be signed in to change notification settings - Fork 69
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
EOFException on NCDump data #532
Comments
Mikhail-Aoun
pushed a commit
to Mikhail-Aoun/netcdf-java
that referenced
this issue
Oct 22, 2020
…ter we met a HeapObject.id equals to 0. Otherwise, we could be at the end of the file and a EOFException will be raised. Addresses the github issue Unidata#532.
lesserwhirls
added a commit
that referenced
this issue
Oct 23, 2020
…_#532 Fix for EOFException on NCDump data #532
lesserwhirls
pushed a commit
to lesserwhirls/netcdf-java
that referenced
this issue
Oct 23, 2020
…ter we met a HeapObject.id equals to 0. Otherwise, we could be at the end of the file and a EOFException will be raised. Addresses the github issue Unidata#532.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
As explained in Unidata/thredds#1342, we've found an issue when trying to read data from some particular netcdf files.
The same bug happens with Tools UI latest stable release (Version 5.3.3) and the same netcdf files as the one attached in the other issue. This time, we met an EOFException in the ucar.nc2.internal.iosp.hdf5.H5objects$GlobalHeap instantiation algorithm.
The Tools UI Exception when you open this file and try to NCDump tm_packets data is :
Analysis and correction :
As with the Unidata/thredds#1342 issue, the bug seems to be linked to the ucar.nc2.internal.iosp.hdf5.H5objects$GlobalHeap instantiation algorithm which doesn't handle correctly some particular file byte structures.
We've managed to find a similar fix which work with ToolsUI. I will submit the associated Pull request.
The text was updated successfully, but these errors were encountered: