From b4fd4f3b9099c18a9d095d150a83a97484c9db4f Mon Sep 17 00:00:00 2001 From: akrherz Date: Wed, 13 Dec 2017 10:22:31 -0600 Subject: [PATCH] DOC: Correct "the the" typos --- examples/gridding/Natural_Neighbor_Verification.py | 2 +- metpy/calc/thermo.py | 4 ++-- metpy/calc/turbulence.py | 2 +- metpy/io/tests/test_gini.py | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/examples/gridding/Natural_Neighbor_Verification.py b/examples/gridding/Natural_Neighbor_Verification.py index b9a6f824ca6..63d0018e0dc 100644 --- a/examples/gridding/Natural_Neighbor_Verification.py +++ b/examples/gridding/Natural_Neighbor_Verification.py @@ -157,7 +157,7 @@ def draw_circle(x, y, r, m, label): # which serves as a complementary (but not necessary) # spatial data structure that we use here simply to show areal ratios. # Notice that the two natural neighbor triangle circumcenters are also vertices -# in the Voronoi plot (green dots), and the observations are in the the polygons (blue dots). +# in the Voronoi plot (green dots), and the observations are in the polygons (blue dots). vor = Voronoi(list(zip(xp, yp))) voronoi_plot_2d(vor) diff --git a/metpy/calc/thermo.py b/metpy/calc/thermo.py index cd7b4c2b06e..be5a9dc57e4 100644 --- a/metpy/calc/thermo.py +++ b/metpy/calc/thermo.py @@ -40,7 +40,7 @@ def potential_temperature(pressure, temperature): Returns ------- `pint.Quantity` - The potential temperature corresponding to the the temperature and + The potential temperature corresponding to the temperature and pressure. See Also @@ -114,7 +114,7 @@ def moist_lapse(pressure, temperature): Returns ------- `pint.Quantity` - The temperature corresponding to the the starting temperature and + The temperature corresponding to the starting temperature and pressure levels. See Also diff --git a/metpy/calc/turbulence.py b/metpy/calc/turbulence.py index 17c4954ad3d..a91e2d156a8 100644 --- a/metpy/calc/turbulence.py +++ b/metpy/calc/turbulence.py @@ -157,7 +157,7 @@ def kinematic_flux(vel, b, perturbation=False, axis=-1): .. math:: \overline{u^{\prime} w^{\prime}} - or the the vertical kinematic heat flux (one velocity component, and one + or the vertical kinematic heat flux (one velocity component, and one scalar): .. math:: \overline{w^{\prime} T^{\prime}} diff --git a/metpy/io/tests/test_gini.py b/metpy/io/tests/test_gini.py index 00c1a4736d6..88925fbe20a 100644 --- a/metpy/io/tests/test_gini.py +++ b/metpy/io/tests/test_gini.py @@ -104,7 +104,7 @@ def test_gini_dataset(filename, bounds, data_var, proj_attrs): assert_almost_equal(x[-1], x1, 4) # Because the actual data raster has the top row first, the maximum y value is y[0], - # while the the minimum y value is y[-1] + # while the minimum y value is y[-1] y = ds.variables['y'] assert_almost_equal(y[-1], y0, 4) assert_almost_equal(y[0], y1, 4)