diff --git a/src/wrf/g_latlon.py b/src/wrf/g_latlon.py index 5d2dc08..6066f3d 100755 --- a/src/wrf/g_latlon.py +++ b/src/wrf/g_latlon.py @@ -365,8 +365,8 @@ def ll_to_xy(wrfin, latitude, longitude, timeidx=0, - 'v': Use the same staggered grid as the v wind component, which has a staggered south_north (y) dimension. - as_int (:obj:`bool`): Set to True to return the x,y values as - :obj:`int`, otherwise they will be returned as :obj:`float`. + as_int (:obj:`bool`): Set to False to return the x,y values as + :obj:`float`, otherwise they will be returned as :obj:`int`. Returns: :class:`xarray.DataArray` or :class:`numpy.ndarray`: The @@ -421,8 +421,8 @@ def ll_to_xy_proj(latitude, longitude, meta=True, squeeze=True, as_int=True, return :class:`numpy.ndarray` instead of :class:`xarray.DataArray`. Default is True. - as_int (:obj:`bool`): Set to True to return the x,y values as - :obj:`int`, otherwise they will be returned as :obj:`float`. + as_int (:obj:`bool`): Set to False to return the x,y values as + :obj:`float`, otherwise they will be returned as :obj:`int`. map_proj (:obj:`int`): Model projection [1=Lambert Conformal, 2=Polar Stereographic, 3=Mercator, 6=Lat-Lon]. Required. @@ -589,9 +589,6 @@ def xy_to_ll_proj(x, y, meta=True, squeeze=True, map_proj=None, truelat1=None, return :class:`numpy.ndarray` instead of :class:`xarray.DataArray`. Default is True. - as_int (:obj:`bool`): Set to True to return the x,y values as - :obj:`int`, otherwise they will be returned as :obj:`float`. - map_proj (:obj:`int`): Model projection [1=Lambert Conformal, 2=Polar Stereographic, 3=Mercator, 6=Lat-Lon]. Required.