You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Loading Sigmet/IRIS files from IDEAM Colombia fail due to various ArrayIndexOutOfBoundsExceptions in ucar.nc2.iosp.sigmet.SigmetVolumeScan.
Attached is an example file from the Barrancabermeja radar station (License CC BY 4.0).
I have already investigated the source of the bug. The main issue is in ucar.nc2.iosp.sigmet.SigmetIOServiceProvider.readRecordsHdr(...). The variable nparams is not complete. I will prepare a Pull Request as well with the needed fixes.
java.lang.ArrayIndexOutOfBoundsException: Index -8252 out of bounds for length 6
at ucar.nc2.iosp.sigmet.SigmetVolumeScan.<init>(SigmetVolumeScan.java:222)
at ucar.nc2.iosp.sigmet.SigmetIOServiceProvider.open(SigmetIOServiceProvider.java:132)
at ucar.nc2.NetcdfFile.<init>(NetcdfFile.java:1610)
at ucar.nc2.NetcdfFiles.open(NetcdfFiles.java:750)
at ucar.nc2.NetcdfFiles.openInMemory(NetcdfFiles.java:698)
Relevant log messages
No response
If you have an example file that you can share, please attach it to this issue.
If so, may we include it in our test datasets to help ensure the bug does not return once fixed?
Note: the test datasets are publicly accessible without restriction.
Yes
Code of Conduct
I agree to follow the UCAR/Unidata Code of Conduct
The text was updated successfully, but these errors were encountered:
There are more issues with files from other Colombian stations and so I'm still investigating and preparing a PR. Seems to be different bugs this time and so I'll probably file another or more reports. Might take a few days until I get to the bottom of this.
Versions impacted by the bug
5.3 and onwards
What went wrong?
Loading Sigmet/IRIS files from IDEAM Colombia fail due to various
ArrayIndexOutOfBoundsException
s inucar.nc2.iosp.sigmet.SigmetVolumeScan
.Attached is an example file from the Barrancabermeja radar station (License CC BY 4.0).
I have already investigated the source of the bug. The main issue is in
ucar.nc2.iosp.sigmet.SigmetIOServiceProvider.readRecordsHdr(...)
. The variablenparams
is not complete. I will prepare a Pull Request as well with the needed fixes.BAR230510062107.RAW2XYJ.zip
Relevant stack trace
Relevant log messages
No response
If you have an example file that you can share, please attach it to this issue.
If so, may we include it in our test datasets to help ensure the bug does not return once fixed?
Note: the test datasets are publicly accessible without restriction.
Yes
Code of Conduct
The text was updated successfully, but these errors were encountered: