Skip to content

Commit

Permalink
Per #3024, escape embedded underscores in equations only for latex fo…
Browse files Browse the repository at this point in the history
…rmatting, not html
  • Loading branch information
JohnHalleyGotway committed Dec 6, 2024
1 parent 5c80fda commit b7f13d4
Showing 1 changed file with 22 additions and 3 deletions.
25 changes: 22 additions & 3 deletions docs/Users_Guide/appendixC.rst
Original file line number Diff line number Diff line change
Expand Up @@ -785,13 +785,32 @@ The following statistics are computed using the magnitude of the vectors formed
\text{OGMAG} = \text{Mean}(|| \nabla o ||) = \frac{1}{n} \sum_{i=1}^n \sqrt{\nabla {o_x}_i^2 + \nabla {o_y}_i^2}
\text{MAG_RMSE} = \sqrt{ \frac{1}{n} \sum_{i=1}^n {(|| \nabla f_i || - || \nabla o_i ||)}^2 }
.. only:: latex

.. math::
\text{MAG\_RMSE} = \sqrt{ \frac{1}{n} \sum_{i=1}^n {(|| \nabla f_i || - || \nabla o_i ||)}^2 }
.. only:: html

.. math::
\text{MAG_RMSE} = \sqrt{ \frac{1}{n} \sum_{i=1}^n {(|| \nabla f_i || - || \nabla o_i ||)}^2 }
Laplace RMSE is very similar to gradient RMSE, but instead of taking the magnitude of the gradient vector at each
point, we compute the divergence of the gradient.

.. math::
\text{LAPLACE_RMSE} = \sqrt{ \frac{1}{n} \sum_{i=1}^n { ((\nabla {f_x}_i + \nabla {f_y}_i) - (\nabla {o_x}_i + \nabla {o_y}_i))^2 }}
.. only:: latex

.. math::
\text{LAPLACE\_RMSE} = \sqrt{ \frac{1}{n} \sum_{i=1}^n { ((\nabla {f_x}_i + \nabla {f_y}_i) - (\nabla {o_x}_i + \nabla {o_y}_i))^2 }}
.. only:: html

.. math::
\text{LAPLACE_RMSE} = \sqrt{ \frac{1}{n} \sum_{i=1}^n { ((\nabla {f_x}_i + \nabla {f_y}_i) - (\nabla {o_x}_i + \nabla {o_y}_i))^2 }}
MET Verification Measures for Probabilistic Forecasts
=====================================================
Expand Down

0 comments on commit b7f13d4

Please sign in to comment.