Developer guide
Environment setup
This project uses Pixi to manage dependencies and development tasks.
Install Pixi
See the Installation page for full instructions. Quick start:
curl -fsSL https://pixi.sh/install.sh | shpowershell -ExecutionPolicy Bypass -c "irm -useb https://pixi.sh/install.ps1 | iex"brew install pixiRestart your shell after installation.
Install the project environment
Clone the repository and install the environment:
git clone https://github.com/Deltares-research/iriscc.git
cd iriscc
pixi installPixi will create a reproducible environment based on the pyproject.toml and pixi.lock files.
Running notebooks
Run all notebooks (executes in-place and saves outputs):
pixi run all-notebooksRun a single notebook:
pixi run run-notebook <path/to/notebook.ipynb>Strip outputs from all notebooks (for clean version control):
pixi run clean-notebooksLinting
pixi run install-precommit # install pre-commit hooks (once)
pixi run lint # run pre-commit on all files