-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into ncc/clean-hgrid
- Loading branch information
Showing
12 changed files
with
186 additions
and
77 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,4 +5,4 @@ _build | |
regional_mom6/_version.py | ||
regional_mom6.egg-info | ||
.pytest_cache | ||
env | ||
.env |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,46 @@ | ||
# regional_mom6: Python package for automatic generation of regional configurations for the Modular Ocean Model 6 | ||
# regional_mom6 | ||
|
||
[![codecov](https://codecov.io/gh/COSIMA/regional-mom6/branch/master/graph/badge.svg?token=7OEZ1UZRY4)](https://codecov.io/gh/COSIMA/regional-mom6) [![Documentation Status](https://readthedocs.org/projects/regional-mom6/badge/?version=latest)](https://regional-mom6.readthedocs.io/en/latest/?badge=latest) [![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black) | ||
*Python package for automatic generation of regional configurations for the [Modular Ocean Model 6](https://github.com/mom-ocean/MOM6).* | ||
|
||
Just provide some information about where, when and how big, and also where raw input forcing files live. The package will sort out all the boring details to create MOM6-friendly input files. | ||
[![Repo status](https://www.repostatus.org/badges/latest/active.svg?style=flat-square)](https://www.repostatus.org/#active) [![License](https://img.shields.io/badge/License-MIT-blue.svg?style=flat-square)](https://mit-license.org) [![codecov](https://codecov.io/gh/COSIMA/regional-mom6/branch/master/graph/badge.svg?token=7OEZ1UZRY4)](https://codecov.io/gh/COSIMA/regional-mom6) [![Documentation Status](https://readthedocs.org/projects/regional-mom6/badge/?version=latest)](https://regional-mom6.readthedocs.io/en/latest/?badge=latest) [![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black) | ||
|
||
Check out the [demo notebook](https://nbviewer.org/github/COSIMA/regional-mom6/blob/main/demo.ipynb) and also the [documentation](https://readthedocs.org/projects/regional-mom6/badge/?version=latest)! | ||
Users just need to provide some information about where, when, and how big their domain is and also where raw input forcing files are. | ||
The package sorts out all the boring details and creates a set of MOM6-friendly input files along with setup directories ready to go! | ||
|
||
Check out the the [documentation](https://regional-mom6.readthedocs.io/en/latest/) and browse through the [demos](https://regional-mom6.readthedocs.io/en/latest/demos.html). | ||
|
||
## Installation | ||
|
||
At the moment you can install the package via `pip` from | ||
GitHub. Before this, the binary `esmpy` dependency is required. This | ||
is easiest to install using Conda. To do so, first create a custom | ||
Conda environment, or activate an existing environment into which you | ||
want to install `esmpy` and `regional_mom6`. Then install `emspy`: | ||
|
||
```bash | ||
conda install -c conda-forge esmpy | ||
``` | ||
|
||
Alternatively, it's possible to follow the [Installing ESMPy from | ||
Source](https://earthsystemmodeling.org/esmpy_doc/release/latest/html/install.html#installing-esmpy-from-source) | ||
instructions to do this in a Conda-free way. With `esmpy` available, you can then install | ||
`regional_mom6` via pip. If your environment doesn't yet have pip, then `conda install pip` should do the job. | ||
|
||
```bash | ||
pip install git+https://github.com/COSIMA/regional-mom6.git | ||
``` | ||
|
||
This will install the latest version of `regional_mom6` plus any required dependencies. | ||
`esmpy` won't be installed as a dependency and that's why need to install it separately. | ||
|
||
Alternatively, you can also install a particular tag or git commit using, e.g., | ||
|
||
```bash | ||
pip install git+https://github.com/COSIMA/[email protected] | ||
``` | ||
|
||
or | ||
|
||
```bash | ||
pip install git+https://github.com/COSIMA/regional-mom6.git@061b0ef80c7cbc04de0566df329c4ea472002f7e | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.