Skip to content

run_senbygg_improved.pyΒΆ

Main operational entry point. It defines area/time, checks history depth, ensures yearly Sentinel-1 NetCDF cubes, loads FKB-Tiltak/custom candidates, runs senbygg_improved.detect_candidates(), optionally runs coherence/S2 fusion, and writes the fused GeoPackage.

Important constants: AREA_NAME, BBOX, HISTORY_START, MONITOR_START, MONITOR_END, DOWNLOAD_IF_MISSING, MIN_AREA_M2, USE_S2, USE_COH, CANDIDATES_GPKG, and FKB_TILTAK_YEARS.

The default FKB-Tiltak data root is local to the development environment. Use CANDIDATES_GPKG if that mirror is unavailable.