Skip to main content

C-Star

Conda Version PyPI Documentation Status Unit tests codecov License: Apache 2.0

C-Star is an open-source system for building, running and sharing regional ocean simulations. It is developed by ocean and biogeochemical modelers and scientific software engineers at [C]Worthy to support Monitoring, Reporting and Verification (MRV) of ocean-based carbon dioxide removal. Today it runs UCLA-ROMS coupled to the MARBL biogeochemistry model, on a laptop or on a supported HPC system, from the same description of the run.

How it works

C-Star is organized around two ideas. An application is something you can run: the ROMS-MARBL model, Forge (the tool that builds a new ROMS-MARBL domain), or a smaller data-transformation or analysis step. A blueprint is a YAML file holding every input an application needs to produce its result: which model code to build, which input files to use, which settings to apply. Given the same blueprint, an application produces the same result on any supported machine, which is what makes a C-Star simulation shareable and reproducible.

A simple ocean modeling project moves through three steps:

  1. Describe the domain. The Forge wizard, a form that runs in your browser or as a Jupyter notebook, walks you through choosing a model configuration, a region and grid, forcing datasets, and a run window. It writes a forge blueprint.
  2. Generate the inputs. Running that forge blueprint downloads the source datasets, builds the grid, initial conditions, boundary and surface forcing, and rivers and tides where requested, and writes the ROMS namelist. Its output is a ROMS-MARBL blueprint pointing at everything the model needs.
  3. Run the simulation. Running the ROMS-MARBL blueprint fetches and compiles the model code and executes the simulation.

To run several simulations as one unit, a workplan lists blueprints as steps with dependencies between them. C-Star schedules the steps, submits them to the cluster's job scheduler, and tracks their status, so a chain such as a spin-up followed by an experiment and its control can be launched and monitored with a single run ID. Reusable pieces of a domain description (model configurations, domains, forcing selections, output settings and saved blueprints) live in a catalog; C-Star ships a small bundled catalog to start from.

Installation

C-Star is published on conda-forge as cstar-ocean. One install gives you the cstar command line, the ROMS-MARBL application and Forge, including its wizard.

On a laptop or workstation, install cstar-ocean-standalone, which bundles the compilers, MPI and netCDF toolchain that ROMS needs:

conda create -n cstar-env -c conda-forge cstar-ocean-standalone
conda activate cstar-env
cstar --version

On a supported HPC system, install cstar-ocean alone and let the site's environment modules provide the toolchain. The installation guide covers the HPC variant, installing from source, and what to set up after installing.

Quick start

The three steps above, on a laptop, with a deliberately tiny Western Indian Ocean domain that processes in minutes:

# 1. Build a forge blueprint in your browser; save or download it when done.
cstar forge wizard

# 2. Generate the domain. The last lines of output name the ROMS-MARBL
#    blueprint Forge wrote and the command to run it.
cstar blueprint run forge_blueprint.yaml

# 3. Compile ROMS-MARBL and run the simulation.
cstar blueprint run ~/cstar/blueprint_runs/forge/<name>/blueprints/B_<name>.yaml

The same command runs every blueprint; the blueprint's application field decides which application handles it. GLORYS ocean reanalysis supplies the initial and boundary conditions, so register for Copernicus Marine before the first run. The blueprint tutorial walks through each step in detail.

Documentation

The full documentation lives at https://c-star.readthedocs.io.

  • UCLA-ROMS: the Regional Ocean Modeling System with MARBL biogeochemistry, the model C-Star builds and runs
  • ROMS-Tools: generates ROMS input files from source datasets and analyzes model output; Forge drives it
  • MARBL: the Marine Biogeochemistry Library coupled to ROMS

Feedback and contributions

Bug reports and feature requests are welcome as GitHub Issues. We also accept contributions as pull requests; the contributor guide covers the development environment, the test suite and building the documentation.

License

C-Star is openly available and permissively licensed under the Apache License 2.0. Copyright 2026 [C]Worthy LLC.

Metadata

Release files for cstar-ocean 0.19.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for cstar-ocean 0.19.1
File Size Uploaded Provenance Actions
cstar_ocean-0.19.1.tar.gz 6.4 MB With provenance Details for cstar_ocean-0.19.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for cstar-ocean 0.19.1
File Interpreter ABI Platform Actions
cstar_ocean-0.19.1-py3-none-any.whl Python 3 none any Details for cstar_ocean-0.19.1-py3-none-any.whl

Total release size: 9.4 MB

Release files / cstar_ocean-0.19.1.tar.gz

Download URL cstar_ocean-0.19.1.tar.gz
Size 6.4 MB
Tags Source
SHA-256 checksum
How to use checksums
0a75e9729f31dde4c83c461547723fde847b9129dc7c063be06666a08fd05bae
BLAKE2b-256 checksum
How to use checksums
843af8bca6deb5e334f4f26524a3a72e37c70d9738bbaa91b0eb4f2b172d167c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 26, 2026.

Transparency log

Release files / cstar_ocean-0.19.1-py3-none-any.whl

Download URL cstar_ocean-0.19.1-py3-none-any.whl
Size 3.0 MB
Tags Python 3
SHA-256 checksum
How to use checksums
787dc033febf532e42b871d8d77db6e5d3b075235c406a03a62c781dbcde6de4
BLAKE2b-256 checksum
How to use checksums
4f7e95285cc97b9e68c45b8918ba2fc5ff452295c56615cc973ff3fb6ce48040
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 26, 2026.

Transparency log

Security for cstar-ocean 0.19.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for cstar_ocean-0.19.1.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 26, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.19.1 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page