Installation

TODO: write this section.

Developer dependencies

First, clone the repository:

git clone git@github.com:ocean-ai-data-challenges/dc-tools.git

Then, inside the newly-created dc-tools directory:

conda create -n dctools python=3.13 esmpy poetry
conda activate dctools
poetry install --with dev

The reason for this somewhat hacky installation is a known bug with xesmf which causes import errors. If you’re encountering similar problems consider reinstalling the environment.

Documentation dependencies

If instead you want to modify these documentation pages, follow the steps in the “Developer dependencies” section. Then, modify the last command to use the --with docs option:

poetry install --with docs