Skip to content

Commit 6902eb5

Browse files
committed
Fix docstring math formatting
1 parent ae1b0f8 commit 6902eb5

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

src/metpy/calc/thermo.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -700,9 +700,13 @@ def lcl(pressure, temperature, dewpoint, max_iters=None, eps=None):
700700
Notes
701701
-----
702702
From [Romps2017]_, this directly solves for the temperature at the LCL, Eq 22a,
703+
703704
.. math:: T_{LCL} = c [W_{-1}(RH_l^{1/a} c \exp{c})]^{-1} T
704-
and similarly for pressure at the LCL, Eq 22b,
705+
706+
and the pressure at the LCL, Eq 22b,
707+
705708
.. math:: p_{LCL} = p \left( \frac{T_{LCL}}{T} \right)^{c_{pm} / R_m}
709+
706710
where :math:`a` (Eq 22d), :math:`b` (Eq 22e), and :math:`c` (Eq 22f) are derived constants,
707711
and :math:`W_{-1}` is the :math:`k=-1` branch of the Lambert :math:`W` function.
708712

0 commit comments

Comments
 (0)