Install
openclaw skills install @ruiduobao/geoskill-post-disaster-reconstructionopenclaw skills install @ruiduobao/geoskill-post-disaster-reconstructionMonitors reconstruction progress using a building-intensity proxy derived from multi-temporal high-resolution imagery: comparing the pre-disaster / damaged / reconstruction epochs, each pixel is classified (mutually exclusively) into one of five classes — non_building / unchanged / destroyed / under_construction / rebuilt. The recovery progress of a destroyed pixel is clip((R-D)/(B-D), 0, 1), which increases monotonically with the reconstruction-epoch intensity; the higher the reconstruction level, the more rebuilt pixels.
pip install numpy rasterio scipy
python geoskill-post-disaster-reconstruction.py --bbox 116.0 39.0 117.0 40.0 --synthetic --output-dir ./out
python geoskill-post-disaster-reconstruction.py --bbox 116 39 117 40 --synthetic --output-dir ./out
python geoskill-post-disaster-reconstruction.py --input series.tif --output-dir ./out
python geoskill-post-disaster-reconstruction.py --bbox 116 39 117 40 --recovery 0.9 --synthetic --output-dir ./out
python geoskill-post-disaster-reconstruction.py --bbox 117 39 118 40 --synthetic --quiet --output-dir ./out
| File | Format | Description |
|---|---|---|
progress_class.tif | GeoTIFF | Reconstruction progress classification (integer 0-4) |
recovery_progress.tif | GeoTIFF | Recovery progress of destroyed pixels [0,1] |
reconstruction_params.json | JSON | Thresholds and class labels |
Each run also produces output-manifest.json (run manifest with inputs/outputs/QA summary).
Real mode reads a multi-band GeoTIFF (band1 = pre-disaster, band2 = damaged, band3 = reconstruction-epoch building intensity); synthetic mode generates the three-epoch scenes offline (recovery level adjustable).
--synthetic mode requires no network at all.MIT
用多期高分辨率影像的建筑强度代理监测重建进度:对比灾前/损毁期/重建期三期,逐像元分为 non_building / unchanged / destroyed / under_construction / rebuilt 五类(互斥)。毁坏像元恢复进度 = clip((R-D)/(B-D),0,1),随重建期强度单调增,重建程度越高 rebuilt 像元越多。
pip install numpy rasterio scipy
python geoskill-post-disaster-reconstruction.py --bbox 116.0 39.0 117.0 40.0 --synthetic --output-dir ./out
python geoskill-post-disaster-reconstruction.py --bbox 116 39 117 40 --synthetic --output-dir ./out
python geoskill-post-disaster-reconstruction.py --input series.tif --output-dir ./out
python geoskill-post-disaster-reconstruction.py --bbox 116 39 117 40 --recovery 0.9 --synthetic --output-dir ./out
python geoskill-post-disaster-reconstruction.py --bbox 117 39 118 40 --synthetic --quiet --output-dir ./out
| 文件 | 格式 | 说明 |
|---|---|---|
progress_class.tif | GeoTIFF | 重建进度分类(整型 0-4) |
recovery_progress.tif | GeoTIFF | 毁坏像元恢复进度 [0,1] |
reconstruction_params.json | JSON | 阈值与类别标签 |
每次运行还会产出 output-manifest.json(运行清单,含输入/产物/QA 摘要)。
真实模式读取多波段 GeoTIFF(band1=灾前、band2=损毁期、band3=重建期建筑强度);合成模式离线生成三期场景(恢复程度可调)。
--synthetic 模式完全无网络。MIT