original_docstring: Maps a distance-based buffer around each non-background (non-zero/non-nodata) grid cell in an input image.
  
          Keyword arguments:
  
          i -- Input raster file. 
          output -- Output raster file. 
          size -- Buffer size. 
          gridcells -- Optional flag to indicate that the 'size' threshold should be measured in grid cells instead of the default map units. 
          callback -- Custom functon for handling tool text outputs.
          
docstring: Maps a distance-based buffer around each non-background (non-zero/non-nodata) grid cell in an input image.
  Keyword arguments.
  
  - Input raster file.
  output -- Output raster file.
  size -- Buffer size.
  gridcells -- Optional flag to indicate that the 'size' threshold should be measured in grid cells instead of the default map units.
  callback -- Custom functon for handling tool text outputs.
docstring_tokens: Maps a distance - based buffer around each non - background ( non - zero / non - nodata ) grid cell in an input image . Keyword arguments . - Input raster file . output -- Output raster file . size -- Buffer size . gridcells -- Optional flag to indicate that the ' size ' threshold should be measured in grid cells instead of the default map units . callback -- Custom functon for handling tool text outputs .
code: def buffer_raster(self, i, output, size, gridcells=False, callback=default_callback):
          """Maps a distance-based buffer around each non-background (non-zero/non-nodata) grid cell in an input image.
  
          Keyword arguments:
  
          i -- Input raster file. 
          output -- Output raster file. 
          size -- Buffer size. 
          gridcells -- Optional flag to indicate that the 'size' threshold should be measured in grid cells instead of the default map units. 
          callback -- Custom functon for handling tool text outputs.
          """
          args = []
          args.append("--input='{}'".format(i))
          args.append("--output='{}'".format(output))
          args.append("--size='{}'".format(size))
          if gridcells: args.append("--gridcells")
          return self.run_tool('buffer_raster', args, callback)
code_tokens: def buffer_raster ( self , i , output , size , gridcells = False , callback = default_callback ) : args = [ ] args . append ( "--input='{}'" . format ( i ) ) args . append ( "--output='{}'" . format ( output ) ) args . append ( "--size='{}'" . format ( size ) ) if gridcells : args . append ( "--gridcells" ) return self . run_tool ( 'buffer_raster' , args , callback )
short_docstring: Maps a distance-based buffer around each non-background (non-zero/non-nodata) grid cell in an input image.
short_docstring_tokens: Maps a distance - based buffer around each non - background ( non - zero / non - nodata ) grid cell in an input image .
comment: """Maps a distance-based buffer around each non-background (non-zero/non-nodata) grid cell in an input image.
  
          Keyword arguments:
  
          i -- Input raster file. 
          output -- Output raster file. 
          size -- Buffer size. 
          gridcells -- Optional flag to indicate that the 'size' threshold should be measured in grid cells instead of the default map units. 
          callback -- Custom functon for handling tool text outputs.
          """