Skip to content

Commit

Permalink
address numpy binary incompatibility warning when reading NetCDFs
Browse files Browse the repository at this point in the history
  • Loading branch information
raphaelquast committed Dec 13, 2023
1 parent ffd195f commit da5de8d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions eomaps/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
from .helpers import register_modules as _register_modules

# address numpy runtime warning concerning binary incompatibility when
# reading NetCDF files (see https://github.com/pydata/xarray/issues/7259)
_register_modules("netCDF4", raise_exception=False)

from .eomaps import Maps
from .mapsgrid import MapsGrid
from ._version import __version__
Expand Down

0 comments on commit da5de8d

Please sign in to comment.