code: def lat_lon_grid_spacing(longitude, latitude, **kwargs):
      r
      # Use the absolute value of the signed function replacing this
      dx, dy = lat_lon_grid_deltas(longitude, latitude, **kwargs)
  
      return np.abs(dx), np.abs(dy)
docs: r"""Calculate the distance between grid points that are in a latitude/longitude format.
  
      Calculate the distance between grid points when the grid spacing is defined by
      delta lat/lon rather than delta x/y
  
      Parameters
      ----------
      longitude : array_like
          array of longitudes defining the grid
      latitude : array_like
          array of latitudes defining the grid
      kwargs
          Other keyword arguments to pass to :class:`~pyproj.Geod`
  
      Returns
      -------
       dx, dy: 2D arrays of distances between grid points in the x and y direction
  
      Notes
      -----
      Accepts, 1D or 2D arrays for latitude and longitude
      Assumes [Y, X] for 2D arrays
  
      .. deprecated:: 0.8.0
          Function has been replaced with the signed delta distance calculation
          `lat_lon_grid_deltas` and will be removed from MetPy in 0.11.0.