NEMO-Cmd Package Installation
NEMO-Cmd is a Python package that provides the nemo command-line tool for doing various operations associated running with the NEMO ocean model.
These instructions assume that:
You have an up to date clone of the NEMO-Cmd package repository.
You have a Conda Python environment and package manager (Miniforge or Miniconda3) installed
To install the NEMO-Cmd package so that the nemo command is available
in your $HOME/.local/bin/
directory:
$ cd NEMO-Cmd
$ conda env create -f envs/environment-hpc.yaml
$ conda activate nemo-cmd
(nemo-cmd)$ python3 -m pip install --user --editable .
The --editable option in the pip install commands installs the package
in a way that it can be updated when new features are pushed to GitHub by simply doing a
git pull in the NEMO-Cmd/
directory.
The Nemo-Cmd package can also be installed in an isolated conda environment. The common use case for doing so it development, testing, and documentation of the package; please see the NEMO-Cmd Package Development section for details.