The R package goFlux has been developed for calculating greenhouse gas (GHG) flux estimates from static chamber measurements. Compared to previous software developed for the same purpose, the goFlux package is not limited to the linear regression approach (LM), but also estimates GHG fluxes from a non-linear regression approach, i.e., the Hutchinson and Mosier model (HM). An automatic selection procedure has been implemented in the package to help users select the best flux estimate (LM or HM) based on objective criteria. In addition, this package can be used to import raw data directly downloaded from a broad selection of instruments (LI-COR, LGR, GAIA2TECH, Gasmet, Picarro, Aeris and PP-Systems). The package is divided into five steps: 1. import raw data into R; 2. define the start and end points of each measurement and assign a UniqueID; 3. calculate GHG flux estimates (LM and HM); 4. automatically select the best flux estimate (LM or HM) based on our default choices of objective criteria; 5. visually inspect the results on plots that can be saved as pdf. For a detailed protocol on how to use this package, visit the webpage https://qepanna.quarto.pub/ Statement of need Non-steady state (static) chambers are widely used for measuring soil greenhouse gas (GHG) fluxes, such as CO 2 , CH 4 , N 2 O, NH 3 , CO, and water vapor (H 2 O). While linear regression (LM) is commonly used to estimate GHG fluxes, this method tends to underestimate the pre-deployment flux (f 0). Indeed, non-linearity is expected when the gas concentration increases or decreases inside a closed chamber, due to changes in gas gradients between the soil and the air inside the chamber. In addition, lateral gas flow and leakage contribute to non-linearity. Many alternatives to LM have been developed to try to provide a more accurate estimation of f 0 , for instance the method of Hutchinson & Mosier (1981) (HM), which was implemented in the HMR package by Pedersen et al. (2010). However, non-linear models have a tendency to largely overestimate some flux measurements, due to an exaggerated curvature. Therefore, the user is expected to decide which method is more appropriate for each flux estimate. With the advent of portable greenhouse gas analyzers (e.g. Los Gatos Research (ABB) laser gas analyzers), soil GHG fluxes have become much easier to measure, and more efficient ways to calculate these flux estimates are needed in order to process large amounts of data. A recent approach was developed by Hüppi et al. (2018) to restrict the curvature in the HM model for a more reliable flux estimate. In the HM model, the curvature is controlled by the kappa parameter, í µí¼. Hüppi et al. (2018) suggest the use of the KAPPA.MAX to limit the maximal curvature allowed in the model (see their R package gasfluxes, available on the CRAN). This procedure introduces less arbitrary decisions in the flux estimation process. Previous software developed to calculate GHG fluxes are limited in many aspects that the Rheault et al. (2024). goFlux: A user-friendly way to calculate GHG fluxes yourself, regardless of user experience. Journal of Open Source Software, 9(96), 6393. https://doi.org/10.21105/joss.06393.
CITATION STYLE
Rheault, K., Christiansen, J. R., & Larsen, K. S. (2024). goFlux: A user-friendly way to calculate GHG fluxes yourself, regardless of user experience. Journal of Open Source Software, 9(96), 6393. https://doi.org/10.21105/joss.06393
Mendeley helps you to discover research relevant for your work.