Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Computes the saturation equivalent potential temperature from fieldsets on pressure levels. This is a Metview icon function, for detailed documentation please see Potential Temperature.


Anchor
temperature_from_potential_temperature
temperature_from_potential_temperature
number temperature_from_potential_temperature(th: number, p: number)

...

The result is the temperature in K units. On error nil is returned.


Anchor
thermo_bufr
thermo_bufr
netcdf 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.


Anchor
thermo_grib
thermo_grib
netcdf 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 and p, 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 and p. If no LCL exists it is set to nil.
    • lfc: Level of Free Convention. It is a definition with two members: t and p. If no LFC exists it is set to nil.
    • el: Equilibrium Level. It is a definition with two members: t and p. If no EL exists it is set to nil.
    • top: Cloud Top Level. It is a definition with two members: t and p. If no TOP exists it is set to nil.
    • start: start conditions of the parcel with four members: mode, t, td and p.


Anchor
vapour_pressure
vapour_pressure
number vapour_pressure(q: number, p: number)

...