original_docstring: 
      Interpolate 1D or 2D fields in 1D
  
      Parameters
      ----------
      ds : ``xarray.Dataset```
          The data set containing variables before 1D interpolation
  
      inInterpDim, outInterpDim : str
          The name of the dimensions to interpolate before and after
          interpolation
  
      inInterpCoord, outInterpCoord : str
          The name of the coordinates to interpolate from and to.  Each
          of these can be 1D (vertical) or 2D fields
      
docstring: Interpolate 1D or 2D fields in 1D
  Parameters
  
  
  
  inInterpDim, outInterpDim : str
  The name of the dimensions to interpolate before and after
  interpolation
  
  inInterpCoord, outInterpCoord : str
  The name of the coordinates to interpolate from and to.  Each
  of these can be 1D (vertical) or 2D fields
docstring_tokens: Interpolate 1D or 2D fields in 1D Parameters inInterpDim outInterpDim : str The name of the dimensions to interpolate before and after interpolation inInterpCoord outInterpCoord : str The name of the coordinates to interpolate from and to . Each of these can be 1D ( vertical ) or 2D fields
code: def interp_1d(ds, inInterpDim, inInterpCoord, outInterpDim,
                outInterpCoord):  # {{{
      """
      Interpolate 1D or 2D fields in 1D
  
      Parameters
      ----------
      ds : ``xarray.Dataset```
          The data set containing variables before 1D interpolation
  
      inInterpDim, outInterpDim : str
          The name of the dimensions to interpolate before and after
          interpolation
  
      inInterpCoord, outInterpCoord : str
          The name of the coordinates to interpolate from and to.  Each
          of these can be 1D (vertical) or 2D fields
      """
      # Authors
      # -------
      # Xylar Asay-Davis
  
      indices, weight0 = _compute_weights_and_indices(
          ds, inInterpDim, inInterpCoord, outInterpDim, outInterpCoord)
  
      # conert coords to normal data variables
      coords = list(ds.coords)
      ds = ds.reset_coords(coords)
  
      ds = ds.map(_interp_1d_array, args=(indices, weight0, inInterpDim))
  
      # conert back to coords
      ds = ds.set_coords(coords)
  
      return ds
code_tokens: def interp_1d ( ds , inInterpDim , inInterpCoord , outInterpDim , outInterpCoord ) : indices , weight0 = _compute_weights_and_indices ( ds , inInterpDim , inInterpCoord , outInterpDim , outInterpCoord ) coords = list ( ds . coords ) ds = ds . reset_coords ( coords ) ds = ds . map ( _interp_1d_array , args = ( indices , weight0 , inInterpDim ) ) ds = ds . set_coords ( coords ) return ds
short_docstring: Interpolate 1D or 2D fields in 1D
  Parameters
short_docstring_tokens: Interpolate 1D or 2D fields in 1D Parameters
comment: # {{{$SEP$"""
      Interpolate 1D or 2D fields in 1D
  
      Parameters
      ----------
      ds : ``xarray.Dataset```
          The data set containing variables before 1D interpolation
  
      inInterpDim, outInterpDim : str
          The name of the dimensions to interpolate before and after
          interpolation
  
      inInterpCoord, outInterpCoord : str
          The name of the coordinates to interpolate from and to.  Each
          of these can be 1D (vertical) or 2D fields
      """$SEP$# Authors$SEP$# -------$SEP$# Xylar Asay-Davis$SEP$# conert coords to normal data variables$SEP$# conert back to coords