lair.background.thoning#

lair.background.thoning(data, smooth_time=None, **kwargs)[source]#

Thoning curve fitting.

Wraps code published by NOAA GML: https://gml.noaa.gov/ccgg/mbl/crvfit/crvfit.html

Thoning, K.W., P.P. Tans, and W.D. Komhyr, 1989,

Atmospheric carbon dioxide at Mauna Loa Observatory, 2. Analysis of the NOAA/GMCC data, 1974 1985., J. Geophys. Res. ,94, 8549 8565.

Parameters:
  • data (pd.Series) – Time series of data to be smoothed. Must have a datetime index.

  • **kwargs – Additional keyword arguments to pass to the ccgFilter class.

  • smooth_time (list[datetime] | Index | None)

Returns:

pd.Series – Smoothed data.

Return type:

Series