Closed JP95Git closed 1 year ago
I was able to read the file by using the latest (version 40) of the BUFR tables from https://community.wmo.int/en/activity-areas/wis/latest-version
BufrTables.addLookupFile("path/to/bufr/bufr-tables.csv");
path/to/bufr/bufr-tables.csv
WMO.any, 0, 0, -1, 0, -1, path/to/bufr/BUFRCREX_TableB_en.xml, wmo_xml , path/to/bufr/BUFR_TableD_en.xml, wmo_xml , localWmo
Works with netcdf-java 5.5.3 and netcdf-java 5.3.3
@haileyajohnson Because the stack trace was very misleading you should update the BUFR tables in netcdf-java, or else other users may encounter the same problem. Thanks.
Versions impacted by the bug
v5.x
What went wrong?
Hi,
I am unable to read BUFR files from these stations:
The files from SOWR are generated by MODEM: https://www.meteomodem.com/
An example file is attached: Z__C_SOWR_20230716010100_aero1,IUSD02_SOWR_160000____RSSO.bin
I was able to read this file with this online tool https://kunden.dwd.de/bufrviewer/ and with ecCodes ( https://confluence.ecmwf.int/display/ECC ). I Also attached a dump of this file as bufr_dump.dat generated by bufr_dump from ecCodes.
Stacktrace after opening the file in toolsUI 5.5.3 and click on "Show Data" is attached in "Relevant stack trace".
I get the same stack trace in toolsUI 5.5.3, 5.5.2, 5.4.1, 5.3.3.
While using NetCDF Java 5.3.3 in my own program I got a similar stack trace:
I reported this issue last year via email and got this response:
Relevant stack trace
Relevant log messages
No response
If you have an example file that you can share, please attach it to this issue.
Attached is bufr.zip which contains the BUFR file Z__C_SOWR_20230716010100_aero1,IUSD02_SOWR_160000____RSSO.bin and the dump bufr_dump.dat. bufr.zip
Code of Conduct