Description
Calculate equivalent potential temperature \(\theta_{e}\)from temperature, dew point, and pressure. \(w\) is the mixing ratio, \(\theta\) is the potential temperature, and \(t_{lcl}\) is the LCL temperature.
Formula
$$
w = w(dp, p) \\
\theta = \theta(t, p) \\
t_{lcl} = t_{lcl} (t, dp) \\
\theta_{e} = \theta e^{(\frac{3.376}{t_{lcl}} - 0.00254) w (1 + 0.00081w)}
$$
Source
Edit me