Install
openclaw skills install @ruiduobao/geoskill-climate-trend-analysis对温度/降水时序执行 Mann-Kendall 趋势检验与 Sen 斜率(Sen slope)估计,输出趋势斜率栅格、显著性(p 值)栅格与时序统计 JSON。Mann-Kendall trend test and Sen slope estimator for temperature/precipitation time series, outputting slope raster, significance (p-value) raster, and time-series JSON.
openclaw skills install @ruiduobao/geoskill-climate-trend-analysisPerforms pixel-wise trend analysis on multi-temporal temperature / precipitation time series (multi-band GeoTIFF cubes or composited series) to identify regions with significant warming / cooling or wetting / drying trends. Suitable for climate change monitoring, regional warming-rate assessment, and long-term precipitation trend screening.
Three core algorithms:
The built-in --synthetic mode generates simulated series with spatially
varying warming trends, mild seasonality, and red noise, allowing the full
workflow to be validated without network access or real data.
pip install numpy rasterio scipy
python geoskill-climate-trend-analysis.py --bbox 116.0 39.0 117.0 40.0 --output-dir ./output
python geoskill-climate-trend-analysis.py --bbox 116 39 117 40 --variable temperature --n-dates 24 --output-dir ./temp_trend
python geoskill-climate-trend-analysis.py --bbox 121 31 122 32 --variable precipitation --n-dates 30 --output-dir ./precip_trend
python geoskill-climate-trend-analysis.py --input annual_temp_stack.tif --alpha 0.01 --output-dir ./real_trend
python geoskill-climate-trend-analysis.py --bbox 116 39 117 40 --variable temperature --alpha 0.01 --output-dir ./strict --quiet
python geoskill-climate-trend-analysis.py --bbox 110 30 111 31 --n-dates 20 --output-dir ./auto --quiet
| File | Format | Description |
|---|---|---|
trend_slope.tif | GeoTIFF (float32, 2 band) | band1=Sen slope, band2=OLS slope, EPSG:4326 |
significance.tif | GeoTIFF (float32, 1 band) | MK two-tailed p-value raster (p<alpha means significant) |
timeseries.json | JSON | Per-date spatial mean series + Sen/OLS summary + significant fraction |
output-manifest.json | JSON | Run manifest (inputs/outputs/QA/software versions) |
--synthetic mode reads no external data.MIT
对温度 / 降水的多期时间序列(多波段 GeoTIFF 立方体或合成序列)做逐像元 趋势分析,识别显著变暖 / 变冷、变湿 / 变干区域。适用于气候变化监测、 区域增温速率评估、降水长期趋势筛查等场景。
核心算法三件套:
内置 --synthetic 模式生成含空间变化增温趋势 + 温和季节性 + 红噪声的模拟
序列,无需网络与真实数据即可验证流程。
pip install numpy rasterio scipy
python geoskill-climate-trend-analysis.py --bbox 116.0 39.0 117.0 40.0 --output-dir ./output
python geoskill-climate-trend-analysis.py --bbox 116 39 117 40 --variable temperature --n-dates 24 --output-dir ./temp_trend
python geoskill-climate-trend-analysis.py --bbox 121 31 122 32 --variable precipitation --n-dates 30 --output-dir ./precip_trend
python geoskill-climate-trend-analysis.py --input annual_temp_stack.tif --alpha 0.01 --output-dir ./real_trend
python geoskill-climate-trend-analysis.py --bbox 116 39 117 40 --variable temperature --alpha 0.01 --output-dir ./strict --quiet
python geoskill-climate-trend-analysis.py --bbox 110 30 111 31 --n-dates 20 --output-dir ./auto --quiet
| 文件 | 格式 | 说明 |
|---|---|---|
trend_slope.tif | GeoTIFF (float32, 2 band) | band1=Sen 斜率,band2=OLS 斜率,EPSG:4326 |
significance.tif | GeoTIFF (float32, 1 band) | MK 双尾 p 值栅格(p<alpha 即显著) |
timeseries.json | JSON | 逐期空间均值序列 + Sen/OLS 汇总 + 显著比例 |
output-manifest.json | JSON | 运行清单(输入/输出/QA/软件版本) |
--synthetic 模式不读取任何外部数据。MIT