Getting Started
Installation¶
With pixi (recommended)¶
pixi installWith uv (library only)¶
uv sync --all-groupsRunning Your First Simulation¶
Shallow Water Model¶
# With pixi
pixi run simulate-swm
# With DVC pipeline
pixi run dvc repro simulate-swmMulti-Layer Quasi-Geostrophic Model¶
pixi run simulate-mqgConfiguration¶
Simulations are configured via Hydra YAML files in configs/. Override parameters from the command line:
python scripts/swm.py domain.nx=400 domain.ny=200 timestepping.dt=150Project Structure¶
somax/
├── somax/ # Installable library
├── scripts/ # Simulation entry points
├── configs/ # Hydra configuration
├── data/ # DVC-managed simulation outputs
├── content/ # Jupyter Book documentation
└── tests/ # Test suite