API Reference

import diive as dv exposes ten domain namespaces. Each page below documents one of them, generated from that namespace’s __all__.

dv.outliers

Detection methods that flag implausible records, most of them with an optional daytime/nighttime split.

dv.gapfilling

Machine-learning and meteorological-similarity gap-filling, plus the feature engineering that feeds the models.

dv.flux

Eddy covariance fluxes: the post-processing chain, u* threshold detection, NEE partitioning and uncertainty.

dv.analysis

Time series analysis: correlation, causality, gaps, binning, decomposition and compound extremes.

dv.plotting

Plot types. Every class follows the two-phase pattern: data and computation parameters at construction, styling and rendering in plot().

dv.times

Timestamp sanitizing, frequency detection, resampling and formatting.

dv.variables

Derived variables and feature calculations, from potential radiation and VPD to day/night flags.

dv.corrections

Offset and gain corrections applied to measured series.

dv.qaqc

Quality flags, flag aggregation and the stepwise meteo screening pipeline.

dv.events

Event markers for instants and periods, and their conversion to flags and plot overlays.