Install
openclaw skills install @ruiduobao/geoskill-carbon-flux-estimation基于光能利用率模型(CASA/VPM 简化)估算 GPP/NPP:GPP=PAR×FPAR×ε,ε 受温度与水分胁迫调节,NPP=GPP−自养呼吸,输出碳收支
openclaw skills install @ruiduobao/geoskill-carbon-flux-estimationThis skill estimates ecosystem carbon fluxes using a simplified light-use-efficiency model (following the CASA / VPM approach):
The magnitudes are calibrated to fall within reasonable vegetation ranges (daily GPP of approximately 0.5-15 gC/m²/day, NPP/GPP ≈ 0.5). Outputs cumulative GPP/NPP rasters, daily flux time series, and a carbon budget JSON. Suitable for regional carbon budget assessment, vegetation productivity mapping, ecosystem model forcing, and carbon source/sink analysis.
pip install 'numpy' 'rasterio' 'scipy'
python geoskill-carbon-flux-estimation.py --bbox 116.0 39.0 117.0 40.0 [other parameters]
python geoskill-carbon-flux-estimation.py --bbox 116.0 39.0 117.0 40.0 --synthetic --output-dir ./out
python geoskill-carbon-flux-estimation.py --bbox 116.0 39.0 117.0 40.0 --output-dir ./out
python geoskill-carbon-flux-estimation.py --bbox 116.0 39.0 117.0 40.0 --synthetic --n-dates 60 --output-dir ./out
python geoskill-carbon-flux-estimation.py --bbox 121.0 31.0 122.0 32.0 --synthetic --output-dir ./out --quiet
python geoskill-carbon-flux-estimation.py --input par_fpar_temp_water.tif --output-dir ./out
| File | Format | Description |
|---|---|---|
carbon_flux.tif | GeoTIFF | Cumulative GPP/NPP over the period (2 bands, gC/m²) |
flux_timeseries.json | JSON | Daily spatial-mean time series of GPP/NPP/Ra |
carbon_budget.json | JSON | Carbon budget (daily mean/cumulative/NPP-GPP ratio) |
output-manifest.json | JSON | Run manifest |
--synthetic or --bbox only): generates physically consistent PAR/FPAR/temperature/water fields and time series locally, with no network access required.--synthetic mode requires no network access at all.MIT
本 skill 用简化的光能利用率模型(light-use-efficiency,CASA / VPM 思路) 估算生态系统碳通量:
量级经参数校准落在植被合理范围(日 GPP 约 0.5-15 gC/m²/day,NPP/GPP≈0.5)。 输出累计 GPP/NPP 栅格、逐日通量时序与碳收支 JSON。适用于区域碳收支评估、 植被生产力制图、生态模型强迫与碳源汇分析。
pip install 'numpy' 'rasterio' 'scipy'
python geoskill-carbon-flux-estimation.py --bbox 116.0 39.0 117.0 40.0 [其他参数]
python geoskill-carbon-flux-estimation.py --bbox 116.0 39.0 117.0 40.0 --synthetic --output-dir ./out
python geoskill-carbon-flux-estimation.py --bbox 116.0 39.0 117.0 40.0 --output-dir ./out
python geoskill-carbon-flux-estimation.py --bbox 116.0 39.0 117.0 40.0 --synthetic --n-dates 60 --output-dir ./out
python geoskill-carbon-flux-estimation.py --bbox 121.0 31.0 122.0 32.0 --synthetic --output-dir ./out --quiet
python geoskill-carbon-flux-estimation.py --input par_fpar_temp_water.tif --output-dir ./out
| 文件 | 格式 | 说明 |
|---|---|---|
carbon_flux.tif | GeoTIFF | 时段累计 GPP/NPP(2 波段,gC/m²) |
flux_timeseries.json | JSON | 逐日 GPP/NPP/Ra 空间均值时序 |
carbon_budget.json | JSON | 碳收支(日均/累计/NPP-GPP 比) |
output-manifest.json | JSON | 运行清单 |
--synthetic 或仅 --bbox):本地生成物理一致的 PAR/FPAR/温度/水分场与时序,无需网络。--synthetic 模式完全无网络。MIT