geocat.viz.util.get_skewt_vars#
- geocat.viz.util.get_skewt_vars(p, tc, tdc, pro)#
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:
p (
pint.Quantity
) – Pressure level input from datasettc (
pint.Quantity
) – Temperature for parcel from datasettdc (
pint.Quantity
) – Dew point temperature for parcel from datasetpro (
pint.Quantity
) – Parcel profile temperature converted to degC
- 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]