Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Disable the cfgrib backend if eccodes is not installed (#5083)
* Disable the cfgrib backend if eccodes is not installed If cfgrib is installed, but libeccodes.so is not installed on the system, Xarray does not load as cfgrib will throw a RuntimeError(), which is not caught. * Update xarray/backends/cfgrib_.py Co-authored-by: Mathias Hauser <mathause@users.noreply.github.com> * Update xarray/backends/cfgrib_.py Co-authored-by: Mathias Hauser <mathause@users.noreply.github.com> * Update cfgrib_.py Missing import * Run black * Update whats-new.rst * Update whats-new.rst * Update xarray/backends/cfgrib_.py Co-authored-by: Mathias Hauser <mathause@users.noreply.github.com>
- Loading branch information