Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

somax: Simple Ocean Models in JAX

Authors
Affiliations
University of Valencia

somax is a model zoo for studying ocean and atmosphere dynamics through simple ODEs and PDEs, built on JAX.

Overview

This book provides both the theory and practice of building ocean dynamical models using modern scientific computing tools. It covers:

Getting Started

# Install with pixi
pixi install

# Run a simulation
pixi run simulate-swm

# Launch Jupyter Lab
pixi run -e jupyterlab lab

Architecture

somax is structured in three layers:

  1. Installable library (somax/) — reusable model classes built on finitevolX

  2. Simulation infrastructure (scripts/, configs/) — ready-to-run simulations with Hydra + DVC

  3. Jupyter Book (content/) — theory and practice documentation