ywangd / pybufrkit

Pure Python toolkit to work with WMO BUFR messages
http://pybufrkit.readthedocs.io/
MIT License
72 stars 28 forks source link

Error: Cannot process descriptor UNDEFINED (020237) of type: UndefinedElementDescriptor #5

Closed F481 closed 6 years ago

F481 commented 6 years ago

Test data are weather reports of the official german weather provider: https://opendata.dwd.de/weather/weather_reports/synoptic/germany/

Command: pybufrkit decode file.bin

WARNING: Cannot find sub-centre 0 nor valid default. Local table not in use. Error: Cannot process descriptor UNDEFINED (020237) of type: UndefinedElementDescriptor

How should that be handled? I don't think there is an error in the files.

Thx!

ywangd commented 6 years ago

The error basically says that 020237 is a local descriptor and a local table is needed to provide relevant information about this descriptor.

The package bundled local tables are from ECMWF only. You could add your own local tables following the same format as the builtin tables https://github.com/ywangd/pybufrkit/tree/master/pybufrkit/tables/0

F481 commented 6 years ago

Thx for the info!

oliver-k-b commented 3 years ago

Hi, I just have the same issue with DWD https://opendata.dwd.de/weather/weather_reports/road_weather_stations/ data. I realized, DWD has some tables for download here: https://opendata.dwd.de/weather/lib/bufr/ (in the Formats "OPERA", "ecCodes", "libDWD", "bufr-tools"). None of which seems to be similar in format to the builtin tables. Could you please help here? Thanks Oliver

ywangd commented 3 years ago

@oliver-k-b I opened #15 to track this request.