Published August 3, 2025 | Version v1
Software Open

Processing of the carbon gas chamber flux, with automatic window detection and manual improvement.

  • 1. ROR icon Max Planck Institute for Biogeochemistry

Description

This repository contains a complete processing pipeline for chamber-based carbon flux measurements. This includes automatic and manual window selection, visualisation, and flux computation for CO₂ and CH₄. The code handles the pre-processing and quality control of gas concentration slopes, converting them to fluxes with environmental covariates.

Key components:

  1. Raw data splitting (01_raw_data_split.R): Prepares and organizes raw chamber measurement files.
  2. Automatic window detection (02_auto_window_detection.R): Identifies candidate flux windows by maximizing linearity (R²) of gas trends.
  3. Manual window QC app (03_manual_chamber_window_qc_app.R): Shiny application for visual inspection and adjustment of selected windows, showing mixing ratios, slope diagnostics, air temperature (AT), PAR, etc. Edits are auto-saved on navigation.
  4. Flux post-processing (04_ChamberFlux_Postprocessing.R): Computes slopes, derives fluxes using ideal gas assumptions, attaches environmental metrics, and classifies CO₂ flux as ER/NEE.

Files

README.txt

Files (53.9 kB)

Name Size Download all
md5:0b3da144e6b82a940030dbda6f41c949
12.0 kB Download
md5:0f338c1bd187815f62ac773e6bb8a39a
8.4 kB Download
md5:f200313409cac63ed0a46bccbf34e6dd
10.7 kB Download
md5:3c601ccd9c252b1b6587374c0ace53b6
11.5 kB Download
md5:0d83b4d8e3428db34a74b7a16795a232
11.3 kB Preview Download

Additional details

Funding

European Commission
Q-ARCTIC - Quantify disturbance impacts on feedbacks between Arctic permafrost and global climate 951288

Software

Programming language
R