Installation#
Prerequisites#
Pixi handles all other dependencies including Python, and compiling SFINCS and SCHISM from source. No containers are required.
Install#
The first activation compiles both SFINCS and SCHISM from source (they are included as git submodules). Subsequent activations skip the build if dependencies have not changed.
Running Commands#
All commands must be run through Pixi to activate the environment:
You should see the CLI help output:
Usage: coastal-calibration [OPTIONS] COMMAND [ARGS]...
Coastal calibration workflow manager (SCHISM, SFINCS).
Commands:
create Create a SFINCS model from an AOI polygon.
init Create a minimal configuration file.
prepare-topobathy Download NWS topobathy DEM clipped to an AOI bounding box.
run Run the calibration workflow.
stages List available workflow stages.
update-dem-index Rebuild the NOAA DEM spatial index from S3 STAC metadata.
validate Validate a configuration file.
Available Environments#
| Environment | Description | Command |
|---|---|---|
dev |
Development with all tools | pixi r -e dev <cmd> |
test311 |
Testing with Python 3.11 | pixi r -e test311 test |
test313 |
Testing with Python 3.13 | pixi r -e test313 test |
schism |
Development with SCHISM I/O | pixi r -e schism <cmd> |
sfincs |
Development with HydroMT-SFINCS | pixi r -e sfincs <cmd> |
typecheck |
Type checking | pixi r -e typecheck typecheck |
lint |
Linting with pre-commit | pixi r lint |
docs |
Documentation building | pixi r -e docs docs-serve |
The dev environment includes everything needed for both SCHISM and SFINCS workflows.
The model-specific environments (schism, sfincs) are lighter alternatives for
working on a single model.
QGIS Plugin#
The repository includes a QGIS plugin for interactive domain definition. See the QGIS Plugin guide for installation and usage instructions.