Metview's documentation is now on readthedocs!

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »


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:

  • t_profile: the temperature profile (in K or °C)
  • td_profile: the dew point temperature profile (in K or °C)
  • p_profile: the pressure profile (in Pa or hPa)

or as a vertical profile where:

profile: the result of a vertical profile extraction from GRIB or BUFR with the thermo_grib() or thermo_bufr() functions, respectively.

The start conditions of the parcel are defined via the start_condition definition that :

Surface

The parcel is started from the surface, i.e. the lowest point of the profile (i.e. from the surface) The definition in this case simply takes the form of

(mode: 'surface')

(mode: 'surface')

Custom:

(mode: 'custom', t: start_temperature, td:, start_dewpoint,  p: start_pressure)





  • No labels