stilt.Trajectories.from_particles#
- classmethod Trajectories.from_particles(particles, receptor, params, met_files, is_error=False)[source]#
Build a Trajectories instance from raw HYSPLIT particle output.
Assigns
xhgtfor column/multipoint receptors, applieshnf_plumedilution correction if configured, and converts thetimecolumn (minutes) to absolutedatetime.- Parameters:
particles (pd.DataFrame) – Raw particle table from
read_particle_dat.receptor (Receptor) – Receptor used for the run.
params (TransportParams) – Transport/model parameters used for the run.
met_files (list[Path]) – Meteorology files used for the run.
is_error (bool, default=False) – Whether these are wind-error-perturbed particles.
- Return type:
stilt.trajectory.Trajectories