From cf7286294da429427c75ba0c4c27330226b6c353 Mon Sep 17 00:00:00 2001 From: Bill Ladwig Date: Mon, 8 May 2017 12:09:01 -0600 Subject: [PATCH] Fixed formatting issues and typos with vertcros and interpline, and fixed some bogus references in some computation routines. --- src/wrf/computation.py | 8 ++++---- src/wrf/interp.py | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/wrf/computation.py b/src/wrf/computation.py index d01e1ab..11e9185 100644 --- a/src/wrf/computation.py +++ b/src/wrf/computation.py @@ -589,7 +589,7 @@ def uvmet(u, v, lat, lon, cen_long, cone, meta=True, units="m s-1"): unstaggered, but must be at least two dimensions. If staggered, the rightmost dimensions are south_north x west east. - IF staggered, the rightmost dimensions are south_north_stag x + If staggered, the rightmost dimensions are south_north_stag x west_east. lat (:class:`xarray.DataArray` or :class:`numpy.ndarray`): The @@ -630,7 +630,7 @@ def uvmet(u, v, lat, lon, cen_long, cone, meta=True, units="m s-1"): cen_long (:obj:`float`): The standard longitude for the map projection. - cone (:obj:`float`): The cone factor used for the map project. IF the + cone (:obj:`float`): The cone factor used for the map project. If the projection is not a conic projection, the *cone* is simply 1.0. For conic projections, the cone factor is given by: @@ -1093,7 +1093,7 @@ def ctt(pres_hpa, tkel, qv, qcld, height, terrain, qice=None, meta=True, See Also: - :meth:`wrf.getvar`, :meth:`wrf.cfrac` + :meth:`wrf.getvar`, :meth:`wrf.cloudfrac` """ @@ -1185,7 +1185,7 @@ def dbz(pres, tkel, qv, qr, qs=None, qg=None, use_varint=False, See Also: - :meth:`wrf.getvar`, :meth:`wrf.cfrac` + :meth:`wrf.getvar` """ diff --git a/src/wrf/interp.py b/src/wrf/interp.py index 11af556..a2e67aa 100755 --- a/src/wrf/interp.py +++ b/src/wrf/interp.py @@ -151,7 +151,7 @@ def vertcross(field3d, vert, levels=None, missing=Constants.DEFAULT_FILL, stagger (:obj:`str`): If using latitude, longitude coordinate pairs for *start_point*, *end_point*, or *pivot_point*, - set the appropriate grid staggering type for *field2d*. By default, + set the appropriate grid staggering type for *field3d*. By default, the mass grid is used. The options are: - 'm': Use the mass grid (default). @@ -164,8 +164,8 @@ def vertcross(field3d, vert, levels=None, missing=Constants.DEFAULT_FILL, projection object to use when working with latitude, longitude coordinates, and must be specified if *wrfin* is None. Default is None. - - pivot_point (:class`wrf.CoordPair`, optional): A coordinate pair for + + pivot_point (:class:`wrf.CoordPair`, optional): A coordinate pair for the pivot point, which indicates the location through which the plane will pass. Must also specify *angle*. The coordinate pair can be in x,y grid coordinates or latitude, longitude @@ -331,7 +331,7 @@ def interpline(field2d, pivot_point=None, not be used when working with x,y coordinates. Default is None. - pivot_point (:class`wrf.CoordPair`, optional): A coordinate pair for + pivot_point (:class:`wrf.CoordPair`, optional): A coordinate pair for the pivot point, which indicates the location through which the plane will pass. Must also specify *angle*. The coordinate pair can be in x,y grid coordinates or latitude, longitude