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
additionally the user can add any list using the read_keys in the open_dataset call.
The issue I have is that many grib keys will be present/needed depending on the value of productDefinitionTemplateNumber.
Therefore a static list of keys does not work while opening a file that contains various records with different productDefinitionTemplateNumber.
Something similar to what happen with the grid type, which seems to be solved using this map.
Hi
I have a question concerning how the grib keys are loaded into a dataset.
Here we see a set of predefined keys that will be loaded
https://github.com/ecmwf/cfgrib/blob/27071067bcdd7505b1abbcb2cea282cf23b36598/cfgrib/dataset.py
additionally the user can add any list using the
read_keys
in theopen_dataset
call.The issue I have is that many grib keys will be present/needed depending on the value of productDefinitionTemplateNumber.
Therefore a static list of keys does not work while opening a file that contains various records with different productDefinitionTemplateNumber.
Something similar to what happen with the grid type, which seems to be solved using this map.
cfgrib/cfgrib/dataset.py
Line 64 in 2707106
Is there any solution envisioned ?
The text was updated successfully, but these errors were encountered: