Unable to read index file with xarray
See original GitHub issueUnix machine, cfgrib 0.9.10.0 xarray 2022.3.0
Since updating to the latest versions of cfgrib & xarray when I open any grib for the second time [xr.open_dataset(fname,engine='cfgrib')
] I get
Ignoring index file 'sfc_unstructured_2018_12.grib.923a8.idx' incompatible with GRIB file
I have ensured that the index file has been made with the same version of cfgrib/xarray. This error cannot be duplicated with, for example, xarray=0.16.2, cfgrib=0.9.9.1.dev0.
As an example, I can duplicate this behaviour with this grib file https://github.com/ecmwf/climetlab/raw/main/docs/examples/test.grib
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Reading and writing files - Xarray
Reading and writing netCDF files with xarray requires scipy or the netCDF4-Python library to be installed (the latter is required to ...
Read more >Struggling with large dataset loading/reading using xarray
My issue here is that I am dealing with 4D (sliced) files of dimensions:[time,depth ... B) The very slow xarray reading of data...
Read more >xarray read remote grib file on s3 using cfgrib - Stack Overflow
Think I got it via https://filesystem-spec.readthedocs.io/en/latest/features.html#caching-files-locally import fsspec import xarray as xr ...
Read more >Indexing and selecting data — xarray 0.8.0 documentation
Depending on whether the underlying numpy indexing returns a copy or a view, the method will fail, and when it fails, it will...
Read more >Handling NetCDF Files using XArray for Absolute Beginners
netCDF4-python for basic netCDF operation such as reading/writing; dask-array 0.16+ for parallel computing with dask. If you want to visualize ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@iainrussell thanks very much.
Hi @mchantry oops, didn’t see your last message until now - too late, I just released it! 😃 Version 0.9.10.1. There were quite a few fixes in there, so it’s good to get it done.