diff --git a/src/metpy/calc/thermo.py b/src/metpy/calc/thermo.py index 5a20c26919a..2ff133fe37c 100644 --- a/src/metpy/calc/thermo.py +++ b/src/metpy/calc/thermo.py @@ -1656,10 +1656,13 @@ def wetbulb_potential_temperature(pressure, temperature, dewpoint): First, theta-e is calculated then use the formula from [DaviesJones2008]_ - .. math:: \theta_w = \theta_e - exp(\frac{a_0 + a_1 x + a_2 x^2 + a_3 x^3 + a_4 x^4}{1 + - b_1 x + b_2 x^2 + b_3 x^3 + b_4 x^4}}) - where :math:`x = \theta_e / 273.15 K`. When :math:`\theta_e <= -173.15 k`, - :math:`\theta_w = \theta_e`. + .. math:: \theta_w = \theta_e - + exp(\frac{a_0 + a_1 x + a_2 x^2 + a_3 x^3 + a_4 x^4} + {1 + b_1 x + b_2 x^2 + b_3 x^3 + b_4 x^4}) + + where :math:`x = \theta_e / 273.15 K`. + + When :math:`\theta_e <= -173.15 K` then :math:`\theta_w = \theta_e`. Parameters ----------