Installation#
To use CrocoDash, we need to install both the CESM and CrocoDash! See the steps below.
CESM Installation#
The first step in running an ocean model inside the CESM is setting up the CESM! Here’s how to do it:
Clone the CESM Repo
CROCODILE has its own fork of the CESM available here: CROCODILE-CESM/CESM. Go ahead and clone it as shown below. I’m gonna call mine CROCESM.
git clone https://github.com/CROCODILE-CESM/CESM CROCESM -b workshop_2025
Checkout all the components
The original clone only clones the CESM code, we need to checkout all of the components as well, like the ocean model and the sea ice model. This will take some time.
cd CROCESM ./bin/git-fleximod update
CrocoDash Installation#
Clone the repository from GitHub
git clone --recurse-submodules https://github.com/CROCODILE-CESM/CrocoDash.git -b v0.1.0-beta
Create the environment (called CrocoDash by default) using the provided environment.yml file
conda env create -f environment.yml --yes # Use Mamba if you have it installed! It's faster.
Activate the environment!
conda activate CrocoDash pytest tests/test_installation.py # If you'd like, run this to see if the package is installed correctly
Check out the demos in the CrocoGallery!
import CrocoDash as cd