lcl()
definition thermo_parcel_path(vector t_profile, vector td_profile, vector p_profile, definition start_condition)
definition thermo_parcel_path(thermo_profile profile, definition start_condition)
Computes the path of an ascending thermodynamic parcel with the given start condition for the given vertical profile. It returns a definition suitable for plotting all the details of the parcel path into a thermodynamic diagram. The vertical profile is either specified as a set of vectors where:
or as a vertical profile where:
The start_condition
definition can specify these four different modes:
Mode | Definition | |
---|---|---|
Surface The parcel is started from the surface, i.e. the lowest point of the profile. |
| |
Custom The parcel is started from the given temperature, dewpoint and pressure. |
| |
Mean layer The parcel is started from the mean temperature, dew point and pressure of a given pressure layer. Please note that when |
| |
Most unstable The parcel is started from the most unstable condition. To determine this, a parcel is started from all the points along the profile in a specified pressure layer. The staring position of the parcel resulting in the highest CAPE value define the most unstable start condition. Please note that when |
|
The result