Skip to content

Commit

Permalink
Fix xarray tools docs
Browse files Browse the repository at this point in the history
  • Loading branch information
ajdawson committed Nov 15, 2024
1 parent 2247268 commit 887becc
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions doc/api/eofs.tools.rst
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,9 @@
.. automodule:: eofs.tools.iris
:members:


`eofs.tools.xarray`
-------------------

.. automodule:: eofs.tools.xarray
:members:
6 changes: 6 additions & 0 deletions lib/eofs/tools/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,9 @@
__all__.append('iris')
except ImportError:
pass

try:
from . import xarray
__all__.append('xarray')
except ImportError:
pass

0 comments on commit 887becc

Please sign in to comment.