Workflows#
The hastegeo.workflows package contains CLI entry points for standalone workflow execution. These are registered as console scripts in pyproject.toml.
CLI Entry Points#
Command |
Module |
Description |
|---|---|---|
|
|
Run the full imagery preprocessing pipeline |
|
|
Zip model artifacts for download |
Imagery Preparation (hastegeo.workflows.prepare_imagery)#
Orchestrates the complete imagery preprocessing pipeline:
Download pre-event and post-event imagery from configured sources
Mosaic multiple tiles into a single raster
Create Cloud Optimized GeoTIFF (COG) output
Upload processed imagery to storage
ImageryWorkflow— Main workflow class
Artifact Zipping (hastegeo.workflows.zip_artifacts)#
Packages model artifacts (training outputs, inference predictions) into ZIP archives for download.
- hastegeo.workflows.zip_artifacts.main()[source]#
Create separate training and inference zip archives.
Reads subdirectories from INPUT_DIR, classifies them by
trn-/inf-prefix, and produces one zip per category. Amanifest.jsonis written alongside the zips so the orchestrator can read back file sizes without extra blob API calls.