lair.background#
Background concentrations of a trace gas from its own time series.
rolling_baseline() and phase_shift_corrected_baseline() take a low
quantile of a moving window; thoning() fits NOAA’s curve (Thoning et al.,
1989) through the data, which suits afternoon means (the afternoon is when the
boundary layer is deep; lair.clock.AFTERNOON lists its hours).
CarbonTracker’s background is in lair.noaa.
Estimate a background shows the methods side by side and when to use
which. The module needs NOAA’s CCG filter, which the first import lair
downloads (see The first import downloads a file), and scipy.
Functions
Derive a baseline concentration from a low quantile, minimizing phase shift. |
|
Calculate the baseline concentration as a rolling quantile. |
|
Thoning curve fitting. |
|
Create a Thoning filter object from a time series of data. |