original_docstring: Extracts stream grid cells from a flow accumulation raster.
  
          Keyword arguments:
  
          flow_accum -- Input raster D8 flow accumulation file. 
          output -- Output raster file. 
          threshold -- Threshold in flow accumulation values for channelization. 
          zero_background -- Flag indicating whether a background value of zero should be used. 
          callback -- Custom functon for handling tool text outputs.
          
docstring: Extracts stream grid cells from a flow accumulation raster.
  Keyword arguments.
  
  - Input raster D8 flow accumulation file.
  output -- Output raster file.
  threshold -- Threshold in flow accumulation values for channelization.
  zero_background -- Flag indicating whether a background value of zero should be used.
  callback -- Custom functon for handling tool text outputs.
docstring_tokens: Extracts stream grid cells from a flow accumulation raster . Keyword arguments . - Input raster D8 flow accumulation file . output -- Output raster file . threshold -- Threshold in flow accumulation values for channelization . zero_background -- Flag indicating whether a background value of zero should be used . callback -- Custom functon for handling tool text outputs .
code: def extract_streams(self, flow_accum, output, threshold, zero_background=False, callback=default_callback):
          """Extracts stream grid cells from a flow accumulation raster.
  
          Keyword arguments:
  
          flow_accum -- Input raster D8 flow accumulation file. 
          output -- Output raster file. 
          threshold -- Threshold in flow accumulation values for channelization. 
          zero_background -- Flag indicating whether a background value of zero should be used. 
          callback -- Custom functon for handling tool text outputs.
          """
          args = []
          args.append("--flow_accum='{}'".format(flow_accum))
          args.append("--output='{}'".format(output))
          args.append("--threshold='{}'".format(threshold))
          if zero_background: args.append("--zero_background")
          return self.run_tool('extract_streams', args, callback)
code_tokens: def extract_streams ( self , flow_accum , output , threshold , zero_background = False , callback = default_callback ) : args = [ ] args . append ( "--flow_accum='{}'" . format ( flow_accum ) ) args . append ( "--output='{}'" . format ( output ) ) args . append ( "--threshold='{}'" . format ( threshold ) ) if zero_background : args . append ( "--zero_background" ) return self . run_tool ( 'extract_streams' , args , callback )
short_docstring: Extracts stream grid cells from a flow accumulation raster.
short_docstring_tokens: Extracts stream grid cells from a flow accumulation raster .
comment: """Extracts stream grid cells from a flow accumulation raster.
  
          Keyword arguments:
  
          flow_accum -- Input raster D8 flow accumulation file. 
          output -- Output raster file. 
          threshold -- Threshold in flow accumulation values for channelization. 
          zero_background -- Flag indicating whether a background value of zero should be used. 
          callback -- Custom functon for handling tool text outputs.
          """