Installation#

ACCESS-MOPPy requires Python >= 3.11.

From PyPI#

pip install access_moppy

From conda#

conda install -c accessnri access-moppy

From source#

The controlled vocabularies under src/access_moppy/vocabularies/ are pulled in as git submodules. Clone with --recurse-submodules (or run git submodule update --init --recursive in an existing clone) before installing, otherwise the CMOR tables/CVs will be missing and imports will fail with an error like No module named 'access_moppy.vocabularies.CMIP6_CVs'. This only affects source installs — PyPI and conda packages already bundle this data.

git clone --recurse-submodules https://github.com/ACCESS-NRI/ACCESS-MOPPy.git
cd ACCESS-MOPPy
pip install .

For development, the repository uses pixi to manage environments:

pixi install          # create the default environment
pixi run pytest       # run the test suite
pixi run docs-build   # build this documentation

Optional extras#

Extra

Installs

Needed for

access_moppy[tui]

rich

moppy-tui terminal dashboard

access_moppy[atmos-tools]

f90nml

moppy-calc-ab-coeffts legacy utility

access_moppy[esmval]

ESMValCore integration deps

moppy-esmval-prepare / moppy-esmval-run

access_moppy[docs]

Sphinx toolchain

building the documentation

access_moppy[test]

pytest and friends

running the test suite

The Streamlit web dashboard (moppy-dashboard) additionally requires streamlit:

pip install streamlit

Personal metadata setup#

The first time the default personal publication profile writes output, it prompts for your name, email, organisation, and ORCID, and stores them in ~/.moppy/user.yml. Official ACCESS Consortium publication uses publication_profile="access-consortium" and does not request personal metadata. See Configuration reference.

Verifying the installation#

moppy-example-config        # prints the bundled example batch config
python -c "import access_moppy; print(access_moppy.__version__)"