potential_temperature

potential_temperature(t, p)

Computes the potential temperature for a given temperature (t) and pressure (p).

Parameters
  • t (number) – temperature (K)

  • p (number) – pressure (Pa)

Return type

number or None

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