stilt.transforms.PressureWeighting#
- class stilt.transforms.PressureWeighting(*, kind: Literal['pressure_weighting'] = 'pressure_weighting', surface_pressure: Annotated[float | None, Gt(gt=0)] = None) None[source]#
Weight each particle by the fraction of the column’s air mass it represents.
The pressure weighting function is derived from the particles’ own first-step heights and pressures (see
particle_pwf()); nothing needs to be supplied. Becausestilt.Footprint.calculate()divides by the particle count, the weights are multiplied byn_particlesso the weighted footprint does not scale withnumpar. Addsxpres(release pressure, hPa) andpwfcolumns. Requirespresandzaglinvarsiwant(both are defaults).
Methods#
|
Weight each particle by its share of the column's air mass. |
Attributes#
|
|
|