Install
openclaw skills install @ruiduobao/geoskill-biodiversity-mapping基于生境异质性假说,用 NDVI 生产力、纹理结构异质性与地形粗糙度三类代理估算物种丰富度空间分布。Maps species richness proxies from NDVI, texture and terrain heterogeneity. 输出物种丰富度与生境质量 GeoTIFF + 参数 JSON。
openclaw skills install @ruiduobao/geoskill-biodiversity-mappingVegetation productivity (NDVI), habitat structural diversity (local standard deviation of NDVI), and terrain heterogeneity (gradient magnitude of the DEM) are the most commonly used remote sensing proxies for biodiversity. This skill normalizes each of the three proxies individually and then fuses them with weights into a "habitat quality" index, which is mapped to relative species richness via the saturating curve S = Smax·(1 − exp(−k·q)) to avoid linear extrapolation.
Applicable scenarios: protected area siting, ecological baseline surveys, and identification of priority zones for biodiversity conservation. Supports two weighting schemes: heterogeneity (emphasizing structural/terrain diversity) and productivity (emphasizing energy availability).
pip install numpy rasterio scipy
python geoskill-biodiversity-mapping.py --bbox 116.0 39.0 117.0 40.0 --synthetic --output-dir ./output
python geoskill-biodiversity-mapping.py --input scene.tif --method heterogeneity --output-dir ./real
python geoskill-biodiversity-mapping.py --bbox 121.0 31.0 122.0 32.0 --synthetic --method productivity --output-dir ./prod
python geoskill-biodiversity-mapping.py --bbox 116 39 117 40 --synthetic --window 9 --s-max 300 --k 2.5 --output-dir ./tuned
python geoskill-biodiversity-mapping.py --bbox 113 23 114 24 --synthetic --quiet --output-dir ./batch
| File | Format | Description |
|---|---|---|
species_richness.tif | GeoTIFF (float32) | Relative species richness [0, Smax], EPSG:4326 |
habitat_quality.tif | GeoTIFF (float32) | Habitat quality index q ∈ [0, 1] |
richness_params.json | JSON | Parameters such as weights/window/proxy means |
output-manifest.json | JSON | Run manifest (inputs/outputs/QA/software versions) |
Local multispectral GeoTIFF (band1=red, band2=NIR, band3=optional DEM); synthetic mode generates vegetation/water/bare-soil scenes and a rugged DEM locally, with no external data source.
--synthetic mode reads no external dataMIT
植被生产力(NDVI)、生境结构多样性(NDVI 局部标准差)与地形异质性(DEM 梯度模)是生物多样性最常用的遥感代理量。本 skill 将三者各自归一化后加权融合为「生境质量」,再经饱和曲线 S = Smax·(1 - exp(-k·q)) 映射为相对物种丰富度,避免线性外推。
适用场景:保护区选址、生态本底调查、生物多样性保护优先区识别。支持 heterogeneity(强调结构/地形多样性)与 productivity(强调能量可得性)两种加权方案。
pip install numpy rasterio scipy
python geoskill-biodiversity-mapping.py --bbox 116.0 39.0 117.0 40.0 --synthetic --output-dir ./output
python geoskill-biodiversity-mapping.py --input scene.tif --method heterogeneity --output-dir ./real
python geoskill-biodiversity-mapping.py --bbox 121.0 31.0 122.0 32.0 --synthetic --method productivity --output-dir ./prod
python geoskill-biodiversity-mapping.py --bbox 116 39 117 40 --synthetic --window 9 --s-max 300 --k 2.5 --output-dir ./tuned
python geoskill-biodiversity-mapping.py --bbox 113 23 114 24 --synthetic --quiet --output-dir ./batch
| 文件 | 格式 | 说明 |
|---|---|---|
species_richness.tif | GeoTIFF (float32) | 相对物种丰富度 [0, Smax],EPSG:4326 |
habitat_quality.tif | GeoTIFF (float32) | 生境质量指数 q ∈ [0,1] |
richness_params.json | JSON | 权重/窗口/代理量均值等参数 |
output-manifest.json | JSON | 运行清单(输入/输出/QA/软件版本) |
本地多光谱 GeoTIFF(band1=红、band2=近红外、band3 可选 DEM);合成模式本地生成植被/水体/裸土场景与起伏 DEM,无外部数据源。
--synthetic 模式不读取任何外部数据MIT