geocat.viz.util.get_skewt_vars

Contents

geocat.viz.util.get_skewt_vars#

geocat.viz.util.get_skewt_vars(pressure=None, temperature=None, dewpoint=None, profile=None, p=None, tc=None, tdc=None, pro=None)#

This function processes the dataset values and returns a string element which can be used as a subtitle to replicate the styles of NCL Skew-T Diagrams.

Parameters:
  • pressure (pint.Quantity) – Pressure level input from dataset. Renamed from deprecated kwarg p.

  • temperature (pint.Quantity) – Temperature for parcel from dataset. Renamed from deprecated kwarg tc.

  • dewpoint (pint.Quantity) – Dew point temperature for parcel from dataset. Renamed from deprecated kwarg tdc.

  • profile (pint.Quantity) – Parcel profile temperature converted to degC. Renamed from deprecated kwarg pro.

  • p (pint.Quantity) – Pressure level input from dataset.

    Deprecated since version 2023.06.0: In an effort to refactor the codebase to follow naming conventions, keyword arguments have been renamed to more meaningful values. p parameter has been deprecated in favor of ``pressure`.

  • tc (pint.Quantity) – Temperature for parcel from dataset.

    Deprecated since version 2023.06.0: In an effort to refactor the codebase to follow naming conventions, keyword arguments have been renamed to more meaningful values. tc parameter has been deprecated in favor of temperature.

  • tdc (pint.Quantity) – Dew point temperature for parcel from dataset.

    Deprecated since version 2023.06.0: In an effort to refactor the codebase to follow naming conventions, keyword arguments have been renamed to more meaningful values. tdc parameter has been deprecated in favor of dewpoint.

  • pro (pint.Quantity) – Parcel profile temperature converted to degC.

    Deprecated since version 2023.06.0: In an effort to refactor the codebase to follow naming conventions, keyword arguments have been renamed to more meaningful values. pro parameter has been deprecated in favor of profile.

Returns:

joined (str) – A string element with the format “Plcl=<value> Tlcl[C]=<value> Shox=<value> Pwat[cm]=<value> Cape[J]=<value>” where: - Cape - Convective Available Potential Energy [J] - Pwat - Precipitable Water [cm] - Shox - Showalter Index (stability) - Plcl - Pressure of the lifting condensation level [hPa] - Tlcl - Temperature at the lifting condensation level [C]

See also

Related

skewT_PlotData, skewt_BackGround

Examples

All usage examples are within the GeoCAT-Examples Gallery. To see more usage cases, search the function on the website.