设计与多媒体

Geoskill: Forest Fire Burn Severity

试用

Compute forest fire burn severity from pre/post-fire NIR and SWIR imagery using differenced Normalized Burn Ratio (dNBR). Classifies severity into unburned, low, moderate, and high categories. Use when the user wants to assess burn severity, map fire damage, or generate burn severity reports.

它能做什么

Compute forest fire burn severity from pre/post-fire NIR and SWIR imagery using differenced Normalized Burn Ratio (dNBR). Classifies severity into unburned, low, moderate, and high categories. Use when the user wants to assess burn severity, map fire damage, or generate burn severity reports.

技能文档

Forest Fire Burn Severity

Computes dNBR from pre/post-fire NIR+SWIR bands and classifies burn severity.

CLI Usage

python scripts/forest_fire_burn_severity.py \
  --pre-nir pre_nir.tif --pre-swir pre_swir.tif \
  --post-nir post_nir.tif --post-swir post_swir.tif

Or with synthetic demo data (no real inputs needed):

python scripts/forest_fire_burn_severity.py --synthetic

Parameters

FlagTypeRequiredDescription
--pre-nirpathone-ofPre-fire NIR band GeoTIFF
--pre-swirpathone-ofPre-fire SWIR band GeoTIFF
--post-nirpathone-ofPost-fire NIR band GeoTIFF
--post-swirpathone-ofPost-fire SWIR band GeoTIFF
--syntheticflagone-ofRun with synthetic demo data (no real inputs needed)
--output-dir, -opathnoOutput directory (default: burn-severity-output)
--versionflagnoShow version and exit

Output

FileDescription
report.htmlBurn severity report
burn-severity-report.jsonDetailed results
output-manifest.jsonMachine-readable manifest

Exit Codes

CodeMeaning
0Success
2Argument error
7Processing failure

数据下载

本 skill 可自动从 Microsoft Planetary Computer 下载数据 (无需 API key):

python forest_fire_burn_severity.py --bbox 116,39,117,40 --date-range 2024-06-01,2024-06-30 --output-dir 
  • --bbox W,S,E,N: WGS-84 边界框 (西, 南, 东, 北)
  • --date-range START,END: 日期范围 (YYYY-MM-DD,YYYY-MM-DD)
  • --aoi-file : 替代 --bbox 的 GeoJSON 多边形
  • --cache-dir : 缓存目录 (默认 ~/.geoskill_cache)

当用户只给 --bbox + --date-range (没有 --image) 时,skill 自动下载数据。 当用户给 --image 时,走原文件路径 (向后兼容)。

相关技能

Detect forest disturbance from multi-temporal NDVI. Use when the user wants to analyze changes, detect hazards, or generate assessment reports.

1 次安装

用 dNBR(NIR/SWIR 差分归一化烧伤比)判定五级烧伤严重度,结合火后多期 NDVI 恢复曲线估算恢复轨迹、恢复斜率与恢复年限,输出严重度 GeoTIFF、恢复轨迹 JSON 与恢复年限栅格。Post-fire recovery from dNBR severity and NDVI time series.

1 次安装

Estimate forest carbon stock from remote sensing data using BEF, allometric equations, or IPCC Tier 1/2 methods. Includes Monte Carlo uncertainty analysis. Supports raster (GeoTIFF) and tabular (CSV) inputs.

Monitor forest canopy vitality decline, drought stress, pest damage, or wind throw from multi-temporal spectral indices. Distinguishes short-term fluctuations from persistent decline using historical baselines, persistence state machines, and climate attribution. Use when assessing forest health, detecting anomalies, or planning field sampling.

1 次安装

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

1 次安装