runtraj.models.flexpart.FlexpartConfig#
- class runtraj.models.flexpart.FlexpartConfig(*, n_hours: int, seed: int | None = None, directory: pathlib.Path | None = None, eta: bool = False, numpar: int = 1000, loutstep: int = 3600, lsynctime: int = 900, ctl: float = -5.0, ifine: int = 4, lconvection: Literal[0, 1] = 1, lturbulence: Literal[0, 1] = 1, lsubgrid: Literal[0, 1] = 0, cblflag: Literal[0, 1] = 0, threads: int = 1) None[source]#
FLEXPART 11’s settings for a runtraj run.
runtraj runs the executable of a FLEXPART checkout you built (
directory) and never ships FLEXPART, which is GPL-3. Each run writes FLEXPART’s input files into its workdir, with particle output everyloutstepseconds and no gridded output. The SHA-256 of the executable is part of the run’s identity, ashycs_std’s is for HYSPLIT; the checkout’s version is recorded beside it.
Parameters#
Parameter |
Description |
Default |
|---|---|---|
|
Length of each simulation, in hours. Negative runs backward in time. It has no default: a config must say it. |
Required |
|
Seed of the model’s random numbers, for a reproducible run. Realization |
|
|
Your FLEXPART 11 checkout: runtraj runs |
|
|
Run the eta build, |
|
|
Number of particles released. A multipoint release splits them between its points. |
|
|
Seconds between particle outputs ( |
|
|
Seconds between the times all particles are synchronized ( |
|
|
Time step control ( |
|
|
Reduction of the time step for vertical motion ( |
|
|
Convection scheme ( |
|
|
Turbulence scheme ( |
|
|
Raise the mixed layer for subgrid terrain ( |
|
|
Skewed rather than Gaussian turbulence in the convective boundary layer ( |
|
|
OpenMP threads. FLEXPART seeds each thread’s random numbers with a fixed number, so the thread count changes the particles and is recorded with the run. A run with one thread repeats exactly; a run with several repeats only in distribution. Each release runs FLEXPART with this many threads, whatever |
|
Attributes#
The FLEXPART checkout, |
|
|
|
Where the build is changes no particle; its SHA-256 is hashed instead. |
Inherited#
From TransportConfig: realizations, settings