mom6_forge (formerly mom6_bathy) is a Python tool for generating MOM6 horizontal grids, vertical grids, bathymetry files, mapping, and other input files for use within the context of idealized and regional modeling.
Documentation: https://ncar.github.io/mom6_forge/
git clone https://github.com/NCAR/mom6_forge.git
cd mom6_forge
conda env create -f environment.yml
conda activate mom6_forgeconda install -c conda-forge mom6_forgemom6_forge depends on ESMPy, which must be installed before mom6_forge because it is not available on PyPI. Install it via conda first, then install mom6_forge with pip:
conda install esmpy
pip install mom6_forgeSee the tutorial notebooks in notebooks/ for guided examples:
- Spherical Grid — Create a basic spherical grid
- Equatorial Refinement — Add enhanced equatorial resolution
- Custom Bathymetry — Generate bathymetry from topography data
- Ingest Land Mask — Apply an external land mask
- Modify Existing — Modify an existing grid/bathymetry
- Demo Editors — Interactive bathymetry editing tools
- Python >=3.11.10, <3.15
- See
environment.ymlfor the full dependency list