文档

Geoskill: Flood Impact Assessment

试用

Overlay flood extent with population, buildings, roads, and cropland to estimate affected objects and generate impact reports. Use when the user wants to assess flood impact, count affected population/roads/buildings, or generate flood impact summaries from a flood extent raster.

它能做什么

Overlay flood extent with population, buildings, roads, and cropland to estimate affected objects and generate impact reports. Use when the user wants to assess flood impact, count affected population/roads/buildings, or generate flood impact summaries from a flood extent raster.

技能文档

Flood Impact Assessment

Combines flood extent raster with exposure data (population, roads, buildings) to estimate affected objects.

Trigger

Use when the user wants to:

  • Assess flood impact on population/infrastructure
  • Count affected people, roads, buildings
  • Generate flood impact reports
  • Combine flood extent with exposure data

CLI Usage

# Local file mode (backward compatible)
python scripts/flood_impact_assessment.py --flood-raster flood.tif
python scripts/flood_impact_assessment.py --flood-raster flood.tif --population-raster pop.tif
python scripts/flood_impact_assessment.py --flood-raster flood.tif --population-raster pop.tif --roads-file roads.geojson

# Auto-download mode — fetch Sentinel-1 GRD from Microsoft Planetary Computer
# (population raster is synthesized bbox-aware; WorldPop is not on MPC)
python scripts/flood_impact_assessment.py \
    --bbox 116.4,39.6,116.6,39.8 \
    --date-range 2024-06-01,2024-06-30 \
    --output-dir my_output

Data Download

When --bbox (or --aoi-file) and --date-range are provided, the skill auto-downloads a Sentinel-1 GRD scene (collection sentinel-1-grd) from the Microsoft Planetary Computer STAC catalog. Because WorldPop is not exposed via MPC STAC, the population raster is synthesized to match the same bbox/crs. The output manifest records data_source, collection, bbox, date_range, and fetched_at whenever auto-download is used.

Output

FileDescription
report.htmlHTML impact report
impact-report.jsonDetailed results JSON
output-manifest.jsonMachine-readable manifest

Exit Codes

CodeMeaning
0Success
2Argument error
7Processing failure

Parameters

FlagTypeDefaultRequiredDescription
--flood-rasterpathNone(yes unless --synthetic)Flood extent raster (GeoTIFF)
--population-rasterpathNonenoPopulation raster (WorldPop GeoTIFF)
--roads-filepathNonenoRoads vector (GeoJSON/Shapefile)
--buildings-filepathNonenoBuildings vector (GeoJSON/Shapefile)
--confidence-thresholdfloat0.5noFlood confidence threshold (range 0.0–1.0)
--syntheticflagFalsenoRun with synthetic demo data (no real inputs needed)
--output-dir / -opathflood-impact-outputnoOutput directory

相关技能

Extract flood extent from SAR backscatter imagery. Use when the user wants to analyze changes, detect hazards, or generate assessment reports.

1 次安装

Fuses crop distribution, hazard intensity, and NDVI anomaly to estimate agricultural disaster impact. Classifies damage severity (mild/moderate/severe) and generates field-level damage maps. Use when assessing flood/drought/heat impact on crops.

1 次安装

基于 DEM 的 Bathtub 静态洪水淹没模拟,支持水文连通性约束(flood-fill)。Static bathtub flood inundation modeling from DEM with optional hydrological connectivity constraint. 输出淹没范围/水深 GeoTIFF + 面积体积统计 JSON。

Estimate impervious surface fraction from multi-band satellite imagery (Sentinel-2) using spectral indices (NDBI, NDVI, MNDWI). Supports binary classification and continuous fraction estimation, with zone-level aggregation and change detection. Use when mapping urban impervious surfaces, computing impervious ratios by watershed/admin unit, or analyzing temporal changes in built-up areas.

1 次安装

Estimate building footprint density and floor area ratio (FAR) from building footprints and heights using kernel density estimation.

多压力因子归一化加权叠加得综合影响指数,独立概率模型估算累积效应,按阈值划分5 级影响等级。Assesses environmental impact grades by multi-factor overlay and cumulative effects. 输出影响指数与等级 GeoTIFF。