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.

C-Star Forge

A utility for generating new regional oceanographic modeling domains and creating reproducible C-Star workflows through blueprint descriptors.

Run Tests codecov Conda Version

What is C-Star Forge?

C-Star is built on a system of applications (a model or computation you want to run) and blueprints (the inputs to an application that make its result reproducible). C-Star Forge is the application for creating new ROMS-MARBL domains.

Setting up a regional ocean simulation has traditionally meant weeks of bespoke work: designing a grid, collecting and regridding forcing datasets, hand-editing model configuration files, and hoping the result is reproducible on the next machine. C-Star Forge automates that path for ROMS-MARBL domains. You describe what you want — a region, a resolution, a time window, forcing sources — and Forge produces everything the model needs to run, in a form that C-Star can build and execute anywhere.

The whole workflow revolves around two YAML documents:

How it works

C-Star Forge takes you from “I want a regional ROMS-MARBL domain here” to a running simulation in three conceptual steps:

  1. Build a forge blueprint. An interactive wizard — a point-and-click web form, also usable inside Jupyter — walks you through the choices: a model spec, a domain from the bundled catalog (or your own), forcing sources, output settings. The result is saved as a single forge_blueprint.yaml. Because the wizard is just a front-end for writing this file, you can also start from an example blueprint and edit it by hand.

  2. Process the blueprint. The Forge executor consumes the forge blueprint on the machine where the data should live. It fetches and prepares the source datasets, generates every ROMS input file (grid, initial conditions, surface and boundary forcing, rivers, tides), renders the model settings, and emits the ROMS-MARBL blueprint describing the finished setup.

  3. Run the simulation. C-Star consumes the ROMS-MARBL blueprint to fetch and compile the model code and execute the simulation — on your laptop or on a supported HPC system. Forge is out of the picture at this point: the handoff is the blueprint file alone.

The input files are generated with ROMS Tools, drawing on GLORYS (ocean reanalysis), ERA5 (atmospheric reanalysis), UNIFIED_BGC (biogeochemical climatology), SRTM15 (bathymetry), DAI/GLOFAS (river discharge), and TPXO (tides).

Each step can happen on a different machine. A common pattern is building the blueprint in a browser on your laptop, processing it on the cluster where the forcing data lives, and running the simulation through C-Star’s scheduler support on that same cluster.

Where to go next