ecmwf / eccodes-python

Python interface to the ecCodes GRIB/BUFR decoder/encoder
Apache License 2.0
113 stars 33 forks source link

Can eccodes decode buffr radar image? #60

Closed chris3522 closed 2 years ago

chris3522 commented 2 years ago

Hi, Can Eccodes decode bufr rain radar images? Regards

shahramn commented 2 years ago

Do you have examples of such BUFR files?

chris3522 commented 2 years ago

Yes but the size is 7 MB, I can't post it. Here a link to dowload it: https://wetransfer.com/downloads/33653a17929f54c39390751be01b94e420220121184617/3a721d660d30491ea3bd54c6b3c566d320220121184712/cfd1ea

shahramn commented 2 years ago

So I see this BUFR file is using LOCAL i.e., NON-STANDARD descriptor codes. For example 029192; this is not a WMO standard descriptor code.

For ecCodes to decode this file, you will need to contact the supplier and ask them for their local tables.

shahramn commented 2 years ago

According to the WMO, the use of local tables in messages intended for non-local or international exchange is strongly discouraged.

shahramn commented 2 years ago

Also see https://confluence.ecmwf.int/display/UDOC/Local+configuration+-+ecCodes+BUFR+FAQ

chris3522 commented 2 years ago

Ok thanks.