stilt.particles.correct_near_field#
- stilt.particles.correct_near_field(particles, receptor, veght)[source]#
Correct
footfor plume dilution in the hyper-near field, as STILT-R’scalc_plume_dilutiondoes.footassumes surface fluxes are mixed through the air belowveght: a fraction of the mixed-layer height whenveghtis 1 or less, and a height in meters above ground when it is larger, as HYSPLIT reads it. Close to the receptor, the plume from the release point is thinner than that. Following STILT-R, the plume depth grows from the release height with the turbulence each particle meets. While it is below theveghtheight,footis recalculated with the plume depth in its place. The worker applies it to any model’s particles whenhnf_plumeis set.STILT-R multiplies
veghtby the mixed-layer height whatever its value, so the two differ whenveghtis above 1.Needs the columns
HNF_PLUME_COLUMNS, and the release height:release_height(add_release_heights()) or the altitude of a point receptor. The plume grows from the ground, so for a receptor whose heights are above sea level (altitude_ref="msl") it starts at the release height minus the terrain under it, the medianzsfcof the first rows of the particles released there, which must be a column too.- Parameters:
- Returns:
A copy of particles with
footcorrected and the original values infoot_no_hnf_dilution.- Return type:
- Raises:
ValueError – If a required column is missing, or the release height is unknown.