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
cfgrib 0.9.10.0 hits an error when attempting to open a file where the filename is expressed as a pathlib.Path object instead of a string. This is not a problem in cfgrib 0.9.9.1.
Many thanks for bringing this to our attention. Indeed your fix is absolutely correct! I implemented it myself, but in fact ended up doing exactly the same as your suggestion. The difference in the most recent version is that cfgrib can take more complex objects than strings and paths, and the code assumed that the input was 'string or complex object' but that was not quite sufficient.
cfgrib 0.9.10.0 hits an error when attempting to open a file where the filename is expressed as a
pathlib.Path
object instead of a string. This is not a problem in cfgrib 0.9.9.1.The same is true with xarray:
xr.open_dataset(this_file, engine='cfgrib')
The text was updated successfully, but these errors were encountered: