Added run-pipeline.py script.

This commit is contained in:
Felix Delattre 2026-06-11 17:47:50 +02:00
parent 60dbf932f8
commit ae88e2291c
2 changed files with 158 additions and 0 deletions

View file

@ -18,6 +18,22 @@ End-to-end pipeline from selecting sites from the global [PhenoCam Network](http
## Quick start
### Run pipeline wrapper (recommended)
```bash
uv sync
uv run python run-pipeline.py --evaluation-year 2025
```
Runs all five steps in order. Steps 1 and 2 are skipped when their output already exists. Each site in steps 35 is skipped when `data/metrics/{year}/{site}/metrics.json` is present. Any failure stops the run immediately, so one can fix the issue and re-run; completed work is never repeated.
```bash
# single site (steps 1 and 2 still skip if already done)
uv run python run-pipeline.py --evaluation-year 2025 --site ICOSFR-Fon1
```
### Step by step
```bash
uv sync
uv run python 1-phenocam.py --evaluation-year 2025