original_docstring: Breaches all of the depressions in a DEM using Lindsay's (2016) algorithm. This should be preferred over depression filling in most cases.
  
          Keyword arguments:
  
          dem -- Input raster DEM file. 
          output -- Output raster file. 
          max_depth -- Optional maximum breach depth (default is Inf). 
          max_length -- Optional maximum breach channel length (in grid cells; default is Inf). 
          callback -- Custom functon for handling tool text outputs.
          
docstring: Breaches all of the depressions in a DEM using Lindsay's (2016) algorithm. This should be preferred over depression filling in most cases.
  Keyword arguments.
  
  - Input raster DEM file.
  output -- Output raster file.
  max_depth -- Optional maximum breach depth (default is Inf).
  max_length -- Optional maximum breach channel length (in grid cells; default is Inf).
  callback -- Custom functon for handling tool text outputs.
docstring_tokens: Breaches all of the depressions in a DEM using Lindsay ' s ( 2016 ) algorithm . This should be preferred over depression filling in most cases . Keyword arguments . - Input raster DEM file . output -- Output raster file . max_depth -- Optional maximum breach depth ( default is Inf ) . max_length -- Optional maximum breach channel length ( in grid cells ; default is Inf ) . callback -- Custom functon for handling tool text outputs .
code: def breach_depressions(self, dem, output, max_depth=None, max_length=None, callback=default_callback):
          """Breaches all of the depressions in a DEM using Lindsay's (2016) algorithm. This should be preferred over depression filling in most cases.
  
          Keyword arguments:
  
          dem -- Input raster DEM file. 
          output -- Output raster file. 
          max_depth -- Optional maximum breach depth (default is Inf). 
          max_length -- Optional maximum breach channel length (in grid cells; default is Inf). 
          callback -- Custom functon for handling tool text outputs.
          """
          args = []
          args.append("--dem='{}'".format(dem))
          args.append("--output='{}'".format(output))
          if max_depth is not None: args.append("--max_depth='{}'".format(max_depth))
          if max_length is not None: args.append("--max_length='{}'".format(max_length))
          return self.run_tool('breach_depressions', args, callback)
code_tokens: def breach_depressions ( self , dem , output , max_depth = None , max_length = None , callback = default_callback ) : args = [ ] args . append ( "--dem='{}'" . format ( dem ) ) args . append ( "--output='{}'" . format ( output ) ) if max_depth is not None : args . append ( "--max_depth='{}'" . format ( max_depth ) ) if max_length is not None : args . append ( "--max_length='{}'" . format ( max_length ) ) return self . run_tool ( 'breach_depressions' , args , callback )
short_docstring: Breaches all of the depressions in a DEM using Lindsay's (2016) algorithm.
short_docstring_tokens: Breaches all of the depressions in a DEM using Lindsay ' s ( 2016 ) algorithm .
comment: """Breaches all of the depressions in a DEM using Lindsay's (2016) algorithm. This should be preferred over depression filling in most cases.
  
          Keyword arguments:
  
          dem -- Input raster DEM file. 
          output -- Output raster file. 
          max_depth -- Optional maximum breach depth (default is Inf). 
          max_length -- Optional maximum breach channel length (in grid cells; default is Inf). 
          callback -- Custom functon for handling tool text outputs.
          """