Documents

Geoskill: Land Use Carbon Accounting

Try it

Compute carbon stock changes, emissions/removals, and uncertainty from multi-temporal land cover data using IPCC Tier 1/2 carbon factors. Use when analyzing land use change carbon budgets, estimating CO2e emissions from deforestation, or generating carbon accounting reports.

What it does

Compute carbon stock changes, emissions/removals, and uncertainty from multi-temporal land cover data using IPCC Tier 1/2 carbon factors. Use when analyzing land use change carbon budgets, estimating CO2e emissions from deforestation, or generating carbon accounting reports.

The skill document

Land Use Carbon Accounting

Computes carbon stock changes, emissions/removals, and uncertainty from multi-temporal land cover data using IPCC Tier 1/2 carbon factors.

Trigger

Use when the user wants to:

  • Compute carbon stock changes from multi-temporal land cover data
  • Estimate CO2e emissions/removals from land use transitions
  • Generate carbon accounting reports with uncertainty analysis
  • Analyze deforestation or afforestation carbon impacts
  • Produce transition matrices and carbon change rasters

CLI Usage

# Synthetic demo mode (no input files needed)
python scripts/land_use_carbon_accounting.py --output-dir ./luca-output

# With input GeoTIFF land cover rasters
python scripts/land_use_carbon_accounting.py \
  --before-landcover ./data/before.tif \
  --after-landcover ./data/after.tif \
  --eco-zone subtropical \
  --pools BAG BBG SOC \
  --output-dir ./luca-output

# With custom carbon factors and Monte Carlo settings
python scripts/land_use_carbon_accounting.py \
  --before-landcover ./data/before.tif \
  --after-landcover ./data/after.tif \
  --eco-zone temperate \
  --pools BAG BBG DW LT SOC \
  --mc-iterations 5000 \
  --mc-seed 42 \
  --confidence 0.95 \
  --output-dir ./luca-output

# With bounding box for area computation
python scripts/land_use_carbon_accounting.py \
  --before-landcover ./data/before.tif \
  --after-landcover ./data/after.tif \
  --bbox 116.0 39.5 116.5 40.0 \
  --output-dir ./luca-output

Parameters

ParameterDefaultDescription
--before-landcoverNoneBefore period land cover GeoTIFF
--after-landcoverNoneAfter period land cover GeoTIFF
--eco-zonesubtropicalEcological zone for carbon factors
--poolsBAG BBG SOCCarbon pools to include
--carbon-factorsNonePath to custom carbon factors JSON
--source-systemautoSource classification: auto, from_glc_fcs30, from_esri_lulc, from_copernicus
--mc-iterations1000Monte Carlo iterations
--mc-seed42Monte Carlo random seed
--confidence0.95Confidence level for uncertainty
--bboxNoneBounding box: xmin ymin xmax ymax
--output-dir./luca-outputOutput directory

Output

FileDescription
transition_matrix.csvLand cover transition matrix (pixel counts)
land_transition.tifTransition type raster
carbon_change.tifPixel-level carbon change raster (tC/ha)
carbon_summary.csvPer-transition carbon change summary
uncertainty.jsonMonte Carlo uncertainty analysis
request.jsonAnalysis request metadata
dataset-manifest.jsonDataset inventory and mapping info
output-manifest.jsonOutput file inventory and carbon results
qa.jsonQuality assurance checks

Carbon Pools

CodeNameDescription
BAGAbove-ground BiomassLiving vegetation above ground
BBGBelow-ground BiomassLiving roots and rhizomes
DWDead WoodStanding and fallen dead wood
LTLitterLeaf litter and fine debris
SOCSoil Organic CarbonTopsoil organic carbon

Land Cover Classes (IPCC)

CodeNameDescription
FLForest LandForest and woodland
CLCroplandCropland and pasture
GLGrasslandNatural grassland
WLWetlandsWetlands and peatlands
SLSettlementsBuilt-up areas
OLOther LandBarren, ice, water

Ecological Zones

ZoneDescription
tropicalTropical forest and savanna
subtropicalSubtropical and warm temperate
temperateCool temperate and boreal
aridArid and semi-arid

Key Algorithms

Stock-Difference Method

Computes carbon stock change using the IPCC stock-difference approach: ΔC = Σ(A_ij × (C_after_j - C_before_i))

Where A_ij is the area transitioning from class i to j, and C is the carbon density (tC/ha) for each class.

Transition Matrix

Counts pixel-level transitions between before and after land cover classes. Handles nodata values (0, 255) by exclusion.

Monte Carlo Uncertainty

Samples carbon factors from normal distributions using coefficient of variation (CV) from the factors registry. Computes confidence intervals from the distribution of total carbon change.

Pixel Area Computation

  • Projected CRS: Uses transform directly (pixel width × height)
  • Geographic CRS: Applies latitude correction (cos(lat) × 111320)

Exit Codes

CodeMeaning
0Success
2Argument error
3Dependency missing
6Data validation failure
7Processing failure

Limitations

  • Tier 1/2 approach only; not certified for MRV/VERRA/Gold Standard
  • Carbon factors are regional averages; local calibration recommended
  • Does not account for time-dependent carbon dynamics (Tier 3)
  • Assumes instantaneous change between two time points
  • Pixel resolution affects area accuracy for heterogeneous landscapes

References

  • IPCC 2006 Guidelines for National Greenhouse Gas Inventories
  • IPCC 2019 Refinement to the 2006 Guidelines
  • GFOI 2016 Integrating remote-sensing and ground-based observations

数据下载

本 skill 可自动从 Microsoft Planetary Computer 下载数据 (无需 API key):

python land_use_carbon_accounting.py --bbox 116,39,117,40 --date-range 2024-06-01,2024-06-30 --output-dir 
  • --bbox W,S,E,N: WGS-84 边界框 (西, 南, 东, 北)
  • --date-range START,END: 日期范围 (YYYY-MM-DD,YYYY-MM-DD)
  • --aoi-file : 替代 --bbox 的 GeoJSON 多边形
  • --cache-dir : 缓存目录 (默认 ~/.geoskill_cache)

当用户只给 --bbox + --date-range (没有 --image) 时,skill 自动下载数据。 当用户给 --image 时,走原文件路径 (向后兼容)。

Related skills

Estimate forest carbon stock from remote sensing data using BEF, allometric equations, or IPCC Tier 1/2 methods. Includes Monte Carlo uncertainty analysis. Supports raster (GeoTIFF) and tabular (CSV) inputs.

由 NDVI 幂律异速生长方程估算地上生物量碳,叠加根茎比地下碳与类型化土壤碳密度。Estimates carbon stocks from biomass allometry and soil carbon density. 输出地上碳/土壤碳/总碳三张 GeoTIFF 与汇总 JSON。

Sanity-check a greenhouse gas inventory before it goes into a report or gets audited. Use when asked to review a carbon footprint, check a GHG inventory, val...

Analyze land subsidence from InSAR displacement data. Use when the user wants to analyze changes, detect hazards, or generate assessment reports.

1 installs

Compute forest fire burn severity from pre/post-fire NIR and SWIR imagery using differenced Normalized Burn Ratio (dNBR). Classifies severity into unburned, low, moderate, and high categories. Use when the user wants to assess burn severity, map fire damage, or generate burn severity reports.

1 installs

基于光能利用率模型(CASA/VPM 简化)估算 GPP/NPP:GPP=PAR×FPAR×ε,ε 受温度与水分胁迫调节,NPP=GPP−自养呼吸,输出碳收支