calculate_MDF: calculate_MDF

View source: R/ghg_flux.R

calculate_MDFR Documentation

calculate_MDF

Description

Calculate the Minimum Detectable Flux (MDF) for a static chamber GHG measurement system.

Usage

calculate_MDF(
  precision_ppm,
  closure_time_s,
  data_point_n,
  chamber_volume_m3,
  temperature_C,
  chamber_area_m2,
  pressure_pa = 101325,
  ideal_constant = 8.314,
  ghg = "co2"
)

Arguments

precision_ppm

Precision of the gas analyser (ppm).

closure_time_s

Closure time of the measurement (seconds).

data_point_n

Number of data points recorded during the closure period.

chamber_volume_m3

Internal volume of the chamber (m^3).

temperature_C

Air temperature at the measurement location (^\circC).

chamber_area_m2

Base area of the chamber (m^2).

pressure_pa

Atmospheric pressure (Pa). Default 101325.

ideal_constant

Ideal gas constant (J mol^{-1} K^{-1}). Default 8.314.

ghg

Greenhouse gas type: "co2", "ch4", or "n2o". Default "co2".

Value

A named list with MDF (numeric, \mug m^{-2} h^{-1}) and unit (string).

Examples

calculate_MDF(
  precision_ppm     = 1,
  closure_time_s    = 300,
  data_point_n      = 300,
  chamber_volume_m3 = 0.0064,
  temperature_C     = 25,
  chamber_area_m2   = 0.07
)

aelab documentation built on Feb. 23, 2026, 5:07 p.m.