FluxError Documentation
The goal of FluxError is to make it easy to calculate the uncertainty in air-sea CO2 flux and the contribution of each term to total uncertainty. FluxError assumes the bulk formula is used to estimate flux:
Where the air-sea flux of CO2 (\(FCO2\)) is expressed in terms of the piston velocity (\(k_w\)), solubility (\(K_o\)), and difference in partial pressure between atmosphere and ocean (\(\Delta pCO_2\)).
Applying a propagation of errors, and assuming independence, we can express the flux in terms of fractional uncertainties
Where all the \(\delta\) terms are the uncertainties.
To calculate these terms you just need to know the uncertainty of the of the components that make it up. For instance, solubility depends on temperature and salinity. So as long as you know the uncertainty of each dataset (ideally spatiotemporal uncertainty), then you can calculate the uncertainty in solubility.
We have used a common parameterization for piston velocity and solubility, but other can be included in the future.
Installation
# for bleeding-edge up-to-date commit
pip install -e git+https://github.com/lgloege/fluxerror.git
Contents:
Help and References: