Installation

Prerequisite

  • conda: Make sure that you have conda installed (either via Miniconda or Anaconda). See the following link for installing miniconda on your local machine:

https://docs.conda.io/en/latest/miniconda.html

Instructions

First, clone the mom6_bathy GitHub repository as follows:

git clone --recursive https://github.com/NCAR/mom6_bathy.git

Then, cd into your newly checked out mom6_bathy clone and run the following command to install mom6_bathy and all dependencies.

cd mom6_bathy
conda env create -f environment.yml

The above command creates a new conda environment called mom6_bathy_env. You can activate this environment by running:

conda activate mom6_bathy_env

To confirm that the installation was successful, execute the following command:

python -c "import mom6_bathy"

If no error message is displayed, then the installation is successful. Note that you will need to activate the mom6_bathy_env environment before every use.