Learn R Programming

aelab (version 1.1.0)

calculate_total_co2e: calculate_total_co2e

Description

Convert individual GHG fluxes (mg m\(^{-2}\) h\(^{-1}\)) to a total CO\(_2\)-equivalent flux (g m\(^{-2}\) d\(^{-1}\)) using IPCC AR6 100-year GWPs (CO\(_2\) = 1, CH\(_4\) = 27, N\(_2\)O = 273).

Usage

calculate_total_co2e(co2 = 0, ch4 = 0, n2o = 0)

Value

Total CO\(_2\)e flux as a numeric scalar (g m\(^{-2}\) d\(^{-1}\)), printed with a diagnostic message.

Arguments

co2

CO\(_2\) flux in mg m\(^{-2}\) h\(^{-1}\). Default 0.

ch4

CH\(_4\) flux in mg m\(^{-2}\) h\(^{-1}\). Default 0.

n2o

N\(_2\)O flux in mg m\(^{-2}\) h\(^{-1}\). Default 0.

Examples

Run this code
calculate_total_co2e(co2 = 4.02, ch4 = 0.001, n2o = 0.003)

Run the code above in your browser using DataLab