diff --git a/docs/index.rst b/docs/index.rst index 0f3ad776..2c0144eb 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -2,17 +2,19 @@ Regional MOM6 Documentation =========================== ``regional_mom6`` is a Python package for automatic generation of regional -configurations for the Modular Ocean Model 6 +configurations for the `Modular Ocean Model 6`_. + +.. _Modular Ocean Model 6: https://github.com/mom-ocean/MOM6 .. toctree:: :maxdepth: 1 :caption: Contents: installation - contributing - api demos - + api + contributing + Indices and tables ================== diff --git a/pyproject.toml b/pyproject.toml index 2ab2bcb9..960156cc 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -13,7 +13,7 @@ dependencies = [ "netCDF4", "numpy>=1.17.0", "scipy>=1.2.0", - "xarray", + "xarray<2024.02.0", "xesmf>=0.8", "f90nml>=1.4.1", ] diff --git a/regional_mom6/regional_mom6.py b/regional_mom6/regional_mom6.py index 6a081c2e..e307c6ff 100644 --- a/regional_mom6/regional_mom6.py +++ b/regional_mom6/regional_mom6.py @@ -1,21 +1,18 @@ import numpy as np -from itertools import cycle from pathlib import Path import dask.array as da -import dask.bag as db -import numpy as np import xarray as xr import xesmf as xe import subprocess from scipy.ndimage import binary_fill_holes import netCDF4 -from dask.distributed import Client, worker_client from dask.diagnostics import ProgressBar import f90nml import datetime as dt import warnings import shutil import os + from .utils import vecdot warnings.filterwarnings("ignore")