ecmwf / cfgrib

A Python interface to map GRIB files to the NetCDF Common Data Model following the CF Convention using ecCodes
Apache License 2.0
407 stars 77 forks source link

Issue trying to use KNMI ecCodes defintions #319

Open DeMoesMakendeHakker opened 2 years ago

DeMoesMakendeHakker commented 2 years ago

Slightly related to [(https://github.com/ecmwf/cfgrib/issues/150)] . I am trying to use the KNMI definitions file, but upon importing the eccodes library I get the warning:

C:\Users\me\AppData\Roaming\Python\Python39\site-packages\ecmwflibs__init__.py:69: UserWarning: ecmwflibs: ignoring provided 'ECCODES_DEFINITION_PATH' set to 'C:\Users\me\Downloads\HARMONIE_grib1_tables\knmi_def\definitions'. If you want ecmwflibs to use this environment variable, use ECMWFLIBS_ECCODES_DEFINITION_PATH instead. If you want to use your own ECCODES library, use ECMWFLIBS_ECCODES. warnings.warn(

Anyone have any suggestions on how to fix this? I have been stuck on using the custom tables for ever now

Thank you in advance

TomasMiskov commented 1 year ago

Hi @DeMoesMakendeHakker any progress on this? It honestly seems like KNMI doesn't care about the accessibility of their "open" database, shame. I am stuck as well, looking for someone who managed to make some ground and actually open a GRIB file from them :)