stilt.transport.TransportConfig#
- class stilt.transport.TransportConfig(*, n_hours: int = -24, hnf_plume: bool = True, veght: float = 0.5, seed: int | None = None) None[source]#
The base of every transport model’s config.
It holds the parameters PYSTILT’s own code reads, whatever the model: the run length and the seed, which set the run window and the realizations, and the near-field settings PYSTILT applies to any model’s particles. Everything else, the particle count included, is the model’s own. A model’s config subclasses it with its own parameters and is the model’s
config_class. Inconfig.yamlthe parameters are flat, top-level keys for the project’s model, and a variant that names another model inherits the shared ones and gives that model’s own. A subclass overridessettings()orrealizations()only where its model differs.
Parameters#
Parameter |
Description |
Default |
|---|---|---|
|
Length of each simulation, in hours. Negative runs backward in time. |
|
|
Apply a vertical Gaussian plume model to particles in the hyper near-field. This shrinks their effective dilution depth and raises the influence of fluxes close to the receptor. Needs the particle columns |
|
|
Height below which a particle’s time counts toward the footprint. A value of 1 or less is a fraction of the mixed-layer height; a larger value is meters above ground. |
|
|
Seed of the model’s random numbers, for a reproducible run. Realization |
|
Attributes#
Fields that change no particle, such as where the build is, left out of a run's recorded settings. |
Methods#
|
Return n realizations of this config, realization |
|
Return what a run records of this config: every field but the |