stilt.observations.TransportError#
- class stilt.observations.TransportError(variance: 'float', noise: 'float', enhancement: 'float', enhancement_perturbed: 'float', levels: 'pd.DataFrame', length_scale: 'float | None', background: 'float' = 0.0, realizations: 'int' = 1) None[source]#
Result of
transport_error().All values are in the flux’s units times the footprint’s (ppm for a flux in µmol m⁻² s⁻¹).
varianceis the signed transport-error variance of the modelled enhancement: the extra ensemble variance the wind perturbation produced. A negative value is sampling noise.noiseis the standard deviation ofvarianceexpected with no perturbation at all, estimated from random halves of the unperturbed particles;varianceis resolved only when it is several timesnoise.sdissqrt(variance), or0when the variance is negative.realizationsis how many error realizations went into the estimate. Their level variances are averaged before the difference is taken, sovariancehas less noise than a single realization’s, andnoiseis scaled to match (seetransport_error()).enhancementandenhancement_perturbedare the modelled enhancement from the unperturbed and the perturbed particles (the perturbed one averaged over the realizations).levelshas one row per release level:height(m, mean release height),nparticles,weight(its share of the column),mean/varof the per-particle enhancement without (_orig) and with (_err) the perturbation,dvartheir difference, andsd_transthe signed square root ofdvar(or X-STILT’s regression-scaled value withregression=True).With a
backgroundfield the per-particle values are the modelled mole fraction, enhancement plus background at the particle’s endpoint, soenhancementandenhancement_perturbedare then modelled mole fractions andvarianceincludes the background’s response to the wind errors.backgroundis the weighted background from the unperturbed particles (0when no field was given), soenhancement - backgroundis the enhancement alone.
Attributes#
|
|
|
|
|
Transport-error standard deviation; |
|
|
|
|
|
|
|
|
|
|
|