中国五十年降水干湿图 · 数据生成方法(METHOD) 锐多宝工具集 data.ruiduobao.cn · 2026-11-30 · 派生数据 v2 1. 原始数据 CRU TS v4.10 月降水(变量 pre,0.5°,1901–2025),University of East Anglia Climatic Research Unit 官方页(含 License 段):https://crudata.uea.ac.uk/cru/data/hrg/ v4.10 月降水目录: https://crudata.uea.ac.uk/cru/data/hrg/cru_ts_4.10/cruts.2604091129.v4.10/pre/ 本页使用:cru_ts4.10.1971.1980 … 2021.2025.pre.dat.nc.gz 共 6 个分段文件,取 1975-01…2025-12 版本说明:https://crudata.uea.ac.uk/cru/data/hrg/cru_ts_4.10/Release_Notes_CRU_TS_4.10.txt 引用:Harris, I., Osborn, T.J., Jones, P., Lister, D. (2020) Version 4 of the CRU TS monthly high-resolution gridded multivariate climate dataset. Sci Data 7, 109. https://doi.org/10.1038/s41597-020-0453-3 国界:https://data.ruiduobao.cn/tools/core/china-boundary.geojson(kind=boundary 的线 polygonize 成面) 2. 复现 pip install numpy scipy netCDF4 shapely 下载上面 6 个 .nc.gz 到 raw/ 并 gunzip;下载 china-boundary.geojson 到当前目录 python make_data.py --raw raw --boundary china-boundary.geojson --out out → out/precip-spi.bin(588,744 字节,与本页文件逐字节一致)、out/precip-spi-meta.json、out/make_data-stats.json 3. 口径 - 日历年 1–12 月合计 = 12 个月尺度 SPI;基期 = 展示期 = 1975–2025(51 年)。 - 每格点在有效年上拟合两参数 Gamma(loc=0);零值按混合分布(本数据 0 例);SPI = Φ⁻¹(F),截断 ±3。 - 缺测:任一月缺测;或某年 ≥10 个月落在该日历月众数(出现 ≥3 次)±max(0.15 mm, 3%) 以内。 后者是本站根据数值特征做的启发式识别(数值疑似退回气候态),不是 CRU 官方质量标记: CRU TS 不提供逐格逐年的官方质量标记;CRU 另发布测站数(stn)文件,本页未采用。 - 有效年 <30,或有效年年总量 CV <0.05(年际变化疑似被压平,同属启发式)→ 整格点缺测。 - 结果:3848 个格点(3850 个格心在国界内,南沙 2 格全时段无值剔除);启发式缺测 1551 格点年; 整格点缺测 59 个;合计缺测 3188 格点年(约 1.6%)。 - 全国平均 SPI = 非缺测格点按 cos(纬度) 加权。1998 +0.74,2011 −0.53。 4. 文件格式 precip-spi.bin = int8 SPI×40 [年][格点](−128 = 缺测),随后 uint16LE 年降水毫米 [年][格点] precip-spi-meta.json = 年份、经纬度、validYears(0 = 整格点缺测)、nationalSpi、nationalMm 等 5. 许可 CRU TS 按 Open Database License (ODbL) 1.0 发布,内容适用 Database Contents License (DbCL) 1.0, 条件为署名与相同方式共享:https://opendatacommons.org/licenses/odbl/1-0/ https://opendatacommons.org/licenses/dbcl/1-0/ 本页派生数据库 precip-spi.bin + precip-spi-meta.json 同样按 ODbL 1.0 提供;使用请署名「CRU TS v4.10(UEA CRU)」。 make_data.py 为本站编写的生成脚本,随派生数据公开,便于复现。 ---- English summary ---- Source: CRU TS v4.10 monthly precipitation (0.5°), UEA CRU, ODbL 1.0 / DbCL 1.0 (links above). Run: python make_data.py --raw raw --boundary china-boundary.geojson --out out (reproduces precip-spi.bin byte for byte). Method: calendar-year totals (12-month SPI), 1975–2025 baseline, two-parameter gamma per cell on valid years, SPI clipped to ±3. Missing: any missing month, or ≥10 of 12 months within max(0.15 mm, 3%) of the calendar-month mode. This is the site's own heuristic for values that appear relaxed to climatology, not an official CRU quality flag: CRU TS provides no official per-cell, per-year quality flag; CRU also publishes station-count (stn) files, which this page does not use. Cells with <30 valid years or CV <0.05 are missing in every year. National SPI: cos(latitude)-weighted mean of non-missing cells. The derived database (precip-spi.bin + precip-spi-meta.json) is shared under ODbL 1.0; credit "CRU TS v4.10 (UEA CRU)".