Trajectories#
A transport model in a trajectory mode, such as HYSPLIT’s mode:
trajectory (Trajectories), follows single air parcels
with the mean wind and no turbulence. Its result is the trajectories
type (Result Types and Concentration lists the types): one table per release, a row
for each trajectory at each output time. sim.trajectories reads one
simulation’s and runtraj.Project.trajectories() many.
Column |
Units |
Meaning |
|---|---|---|
|
The trajectory’s number in its release, from 1: a point release starts one, and a multipoint release one from each point, in the order of the points. Stored as int32. |
|
|
UTC |
When the row is. |
|
minutes |
Time since the release, negative in a backward run. Each
trajectory has a row at |
|
degrees |
Where the trajectory is. |
|
m |
Its height above ground. |
A model adds a column for each value it writes along the trajectory.
HYSPLIT always writes pres, and one more for each tm_ setting that
is 1:
Column |
Setting |
Units |
Meaning (HYSPLIT’s label in its file) |
|---|---|---|---|
|
always |
hPa |
Pressure ( |
|
|
K |
Potential temperature ( |
|
|
K |
Air temperature ( |
|
|
mm per hour |
Rainfall ( |
|
|
m |
Mixed-layer depth ( |
|
|
percent |
Relative humidity ( |
|
|
g/kg |
Specific humidity ( |
|
|
g/kg |
Water vapor mixing ratio ( |
|
|
m |
Terrain height above sea level ( |
|
|
W m⁻² |
Downward shortwave flux ( |
The values are HYSPLIT’s, as its file holds them, to one decimal (three
for lon and lat). A column that shares its name with a particle
column (The Particle Table) is the same quantity, but HYSPLIT’s trajectory
program writes humidity in g/kg, so check a unit here before you compare
the two.
The table is not the particle table. It has no foot and no weight,
the particle transforms do not run on it, and a stage that reads particles
is refused on a variant that makes trajectories.
The file of one release is Parquet, under trajectories/ in the output
directory (Output Layout), with the table’s columns after a release
column that holds the release id. Its metadata is a particle file’s:
runtraj:release, runtraj:settings, runtraj:met_files,
runtraj:hash and runtraj:version.
The columns every trajectory table has, with what each holds. |
|
Raise unless result is a trajectory table: a DataFrame with the columns of |
|
Read a trajectory file |
|
Write a trajectory table to a Parquet file that |
|
Return a table of many releases' trajectories as one DataFrame. |