Install
openclaw skills install @ruiduobao/geoskill-temperature-anomaly-mapping计算温度距平(当期温度减多年同期气候态)与标准化距平,划分暖/冷异常等级,输出距平栅格、异常等级 GeoTIFF 与时序 JSON。Temperature anomaly mapping: current minus multi-year climatology, standardized anomalies, and warm/cold anomaly classes, outputting anomaly rasters, a class GeoTIFF, and a time-series JSON.
openclaw skills install @ruiduobao/geoskill-temperature-anomaly-mappingComputes and maps temperature anomalies to identify warm/cold anomaly regions relative to the climatological baseline and their intensity levels. Suitable for monthly/annual temperature anomaly monitoring, mapping of extreme warm/cold events, and regional diagnostics against the climatic background.
Core algorithm:
--n-dates); the multi-year mean within each group is the multi-year same-phase climatology.The built-in --synthetic mode generates a simulated monthly temperature series with a climatological component (spatial baseline + seasonal cycle) plus inter-annual noise, and injects a regional warm anomaly at the end of the series for offline validation.
pip install numpy rasterio scipy
python geoskill-temperature-anomaly-mapping.py --bbox 116.0 39.0 117.0 40.0 --output-dir ./output
python geoskill-temperature-anomaly-mapping.py --bbox 116 39 117 40 --n-dates 12 --n-years 5 --output-dir ./monthly_anom
python geoskill-temperature-anomaly-mapping.py --bbox 121 31 122 32 --n-dates 12 --n-years 10 --output-dir ./long_clim
python geoskill-temperature-anomaly-mapping.py --input temp_monthly_stack.tif --n-dates 12 --output-dir ./real_anom
python geoskill-temperature-anomaly-mapping.py --bbox 116 39 117 40 --n-dates 4 --n-years 8 --output-dir ./seasonal
python geoskill-temperature-anomaly-mapping.py --bbox 110 30 111 31 --output-dir ./auto --quiet
| File | Format | Description |
|---|---|---|
anomaly.tif | GeoTIFF (float32, 2 band) | Latest epoch; band1 = temperature anomaly, band2 = standardized anomaly, EPSG:4326 |
anomaly_class.tif | GeoTIFF (float32, 1 band) | Anomaly class encoding (2 = severe warm … 0 = normal … -2 = severe cold) |
timeseries.json | JSON | Per-epoch spatially averaged anomaly / standardized anomaly + share of the latest class |
output-manifest.json | JSON | Run manifest (inputs/outputs/QA/software versions) |
--synthetic mode reads no external data.MIT
计算温度距平(anomaly)并制图,识别相对气候态的暖 / 冷异常区域及其 强度等级。适用于月度 / 年度温度异常监测、极端冷暖事件制图、与气候背景 对比的区域诊断。
核心算法:
--n-dates)把时间序列
分组,组内多年平均即该相位的多年同期气候态。内置 --synthetic 模式生成含气候态(空间基线 + 季节循环)+ 年际噪声、
并在末期注入区域性暖异常的模拟月温度序列,用于离线验证。
pip install numpy rasterio scipy
python geoskill-temperature-anomaly-mapping.py --bbox 116.0 39.0 117.0 40.0 --output-dir ./output
python geoskill-temperature-anomaly-mapping.py --bbox 116 39 117 40 --n-dates 12 --n-years 5 --output-dir ./monthly_anom
python geoskill-temperature-anomaly-mapping.py --bbox 121 31 122 32 --n-dates 12 --n-years 10 --output-dir ./long_clim
python geoskill-temperature-anomaly-mapping.py --input temp_monthly_stack.tif --n-dates 12 --output-dir ./real_anom
python geoskill-temperature-anomaly-mapping.py --bbox 116 39 117 40 --n-dates 4 --n-years 8 --output-dir ./seasonal
python geoskill-temperature-anomaly-mapping.py --bbox 110 30 111 31 --output-dir ./auto --quiet
| 文件 | 格式 | 说明 |
|---|---|---|
anomaly.tif | GeoTIFF (float32, 2 band) | 最新一期 band1=温度距平,band2=标准化距平,EPSG:4326 |
anomaly_class.tif | GeoTIFF (float32, 1 band) | 异常等级编码(2=严重暖…0=正常…-2=严重冷) |
timeseries.json | JSON | 逐期空间平均距平/标准化距平 + 最新等级占比 |
output-manifest.json | JSON | 运行清单(输入/输出/QA/软件版本) |
--synthetic 模式不读取任何外部数据。MIT