original_docstring: Fills all of the depressions in a DEM. Depression breaching should be preferred in most cases.
  
          Keyword arguments:
  
          dem -- Input raster DEM file. 
          output -- Output raster file. 
          fix_flats -- Optional flag indicating whether flat areas should have a small gradient applied. 
          callback -- Custom functon for handling tool text outputs.
          
docstring: Fills all of the depressions in a DEM. Depression breaching should be preferred in most cases.
  Keyword arguments.
  
  - Input raster DEM file.
  output -- Output raster file.
  fix_flats -- Optional flag indicating whether flat areas should have a small gradient applied.
  callback -- Custom functon for handling tool text outputs.
docstring_tokens: Fills all of the depressions in a DEM . Depression breaching should be preferred in most cases . Keyword arguments . - Input raster DEM file . output -- Output raster file . fix_flats -- Optional flag indicating whether flat areas should have a small gradient applied . callback -- Custom functon for handling tool text outputs .
code: def fill_depressions(self, dem, output, fix_flats=True, callback=default_callback):
          """Fills all of the depressions in a DEM. Depression breaching should be preferred in most cases.
  
          Keyword arguments:
  
          dem -- Input raster DEM file. 
          output -- Output raster file. 
          fix_flats -- Optional flag indicating whether flat areas should have a small gradient applied. 
          callback -- Custom functon for handling tool text outputs.
          """
          args = []
          args.append("--dem='{}'".format(dem))
          args.append("--output='{}'".format(output))
          if fix_flats: args.append("--fix_flats")
          return self.run_tool('fill_depressions', args, callback)
code_tokens: def fill_depressions ( self , dem , output , fix_flats = True , callback = default_callback ) : args = [ ] args . append ( "--dem='{}'" . format ( dem ) ) args . append ( "--output='{}'" . format ( output ) ) if fix_flats : args . append ( "--fix_flats" ) return self . run_tool ( 'fill_depressions' , args , callback )
short_docstring: Fills all of the depressions in a DEM.
short_docstring_tokens: Fills all of the depressions in a DEM .
comment: """Fills all of the depressions in a DEM. Depression breaching should be preferred in most cases.
  
          Keyword arguments:
  
          dem -- Input raster DEM file. 
          output -- Output raster file. 
          fix_flats -- Optional flag indicating whether flat areas should have a small gradient applied. 
          callback -- Custom functon for handling tool text outputs.
          """