-
Notifications
You must be signed in to change notification settings - Fork 77
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Missing variables when getting the "DatasetBuildError: key present and new value is different" warning #66
Comments
@enyfeo after testing the GRIB sample you sent me via email I can confirm that this is a known, but badly documented issue. Unfortunately it is not easy to address the root problem within the xarray interfaces and we are left with using the
Still it would be nicer if the error message suggested the possible work-around. Note that I changed the title to make it more searchable. |
@alexamici |
@enyfeo using the new heuristic for cfgrib.open_datasets introduced with version 0.9.7 you should get all, or almost all, variable correctly. Please open a new issue if you still find that some variable is not usable.
|
When attempting to read grib file from EFAS which contained 3 variables, cfgrib fails with the error below.
The grib contains 6 hourly time steps 0/to/240/by/6 for var sd which is read ok as the first variable of 41 steps. The remaining params tp06 and dis06 are values for total precipitation and discharge over the last 6 hours and only have 40 time steps, timesteps are written a range 0-6 6-12 ... 234-240.
Reading the variables from separate gribs works ok. It seems due to the number of steps between the 2 variables not being equal.
I cannot upload the grib but drop me an email and I will send it to you.
The text was updated successfully, but these errors were encountered: