original_docstring: Identifies potential ridge and peak grid cells.
  
          Keyword arguments:
  
          dem -- Input raster DEM file. 
          output -- Output raster file. 
          line_thin -- Optional flag indicating whether post-processing line-thinning should be performed. 
          callback -- Custom functon for handling tool text outputs.
          
docstring: Identifies potential ridge and peak grid cells.
  Keyword arguments.
  
  - Input raster DEM file.
  output -- Output raster file.
  line_thin -- Optional flag indicating whether post-processing line-thinning should be performed.
  callback -- Custom functon for handling tool text outputs.
docstring_tokens: Identifies potential ridge and peak grid cells . Keyword arguments . - Input raster DEM file . output -- Output raster file . line_thin -- Optional flag indicating whether post - processing line - thinning should be performed . callback -- Custom functon for handling tool text outputs .
code: def find_ridges(self, dem, output, line_thin=True, callback=default_callback):
          """Identifies potential ridge and peak grid cells.
  
          Keyword arguments:
  
          dem -- Input raster DEM file. 
          output -- Output raster file. 
          line_thin -- Optional flag indicating whether post-processing line-thinning should be performed. 
          callback -- Custom functon for handling tool text outputs.
          """
          args = []
          args.append("--dem='{}'".format(dem))
          args.append("--output='{}'".format(output))
          if line_thin: args.append("--line_thin")
          return self.run_tool('find_ridges', args, callback)
code_tokens: def find_ridges ( self , dem , output , line_thin = True , callback = default_callback ) : args = [ ] args . append ( "--dem='{}'" . format ( dem ) ) args . append ( "--output='{}'" . format ( output ) ) if line_thin : args . append ( "--line_thin" ) return self . run_tool ( 'find_ridges' , args , callback )
short_docstring: Identifies potential ridge and peak grid cells.
short_docstring_tokens: Identifies potential ridge and peak grid cells .
comment: """Identifies potential ridge and peak grid cells.
  
          Keyword arguments:
  
          dem -- Input raster DEM file. 
          output -- Output raster file. 
          line_thin -- Optional flag indicating whether post-processing line-thinning should be performed. 
          callback -- Custom functon for handling tool text outputs.
          """