...
Computes the saturation equivalent potential temperature from fieldsets on pressure levels. This is a Metview icon function, for detailed documentation please see Potential Temperature.
number temperature_from_potential_temperature(th: number, p: number) Anchor temperature_from_potential_temperature temperature_from_potential_temperature
...
The result is the temperature in K units. On error nil
is returned.
netcdf thermo_bufr(...) Anchor thermo_bufr thermo_bufr
Extract vertical profiles from BUFR data in a suitable format suitable for thermodynamic diagrams (defined by Thermo View). This is a Metview icon function, for detailed documentation please see Thermo Data.
netcdf thermo_grib(...) Anchor thermo_grib thermo_grib
Extract vertical profiles from GRIB data in a suitable format for thermodynamic diagrams (defined by Thermo View). This is a Metview icon function, for detailed documentation please see Thermo Data.
...
The function can take an optional options
argument (it is a definition) to specify the various settings for the parcel computations. The members of this definition are as follows (temperature values are in °C and pressure values are in hPa):
mode
: the start condition mode the possible values are 'surface', 'custom', 'mean_layer' and 'most_unstable' (see below for details)start_t
: the start temperature (see below for details)start_td
: the start dewpoint (see below for details)start_p
: the start pressure (see below for details)top_p
: the top pressure of the start layer (see below for details)bottom_p
: the bottom pressure of the start layer (see below for details)stop_at_el
: if it is defined and set to 1 the parcel computations will stop at the Equilibrium Level.
...
path
: path of the parcel. It is itself a definition with two members:t
andp
, each containing a list of values.area
: positive and negative buoyancy areas between the parcel path and the profile. It is a list of definitions describing the areas.cape
: value of the CAPE (Convective Available Potential Energy) (J/kg)cin:
value the CIN (Convective Inhibition) (J/kg)lcl
: Lifted Condensation Level. It is a definition with two members:t
andp
. If no LCL exists it is set tonil
.lfc
: Level of Free Convention. It is a definition with two members:t
andp
. If no LFC exists it is set tonil
.el
: Equilibrium Level. It is a definition with two members:t
andp
. If no EL exists it is set tonil
.top
: Cloud Top Level. It is a definition with two members:t
andp
. If no TOP exists it is set to nil.start
: start conditions of the parcel with four members:mode
,t
,td
andp
.
number vapour_pressure(q: number, p: number) Anchor vapour_pressure vapour_pressure
...