original_docstring: Calculates the downslope flowpath length from each cell to basin outlet.
  
          Keyword arguments:
  
          d8_pntr -- Input D8 pointer raster file. 
          watersheds -- Optional input watershed raster file. 
          weights -- Optional input weights raster file. 
          output -- Output raster file. 
          esri_pntr -- D8 pointer uses the ESRI style scheme. 
          callback -- Custom functon for handling tool text outputs.
          
docstring: Calculates the downslope flowpath length from each cell to basin outlet.
  Keyword arguments.
  
  - Input D8 pointer raster file.
  watersheds -- Optional input watershed raster file.
  weights -- Optional input weights raster file.
  output -- Output raster file.
  esri_pntr -- D8 pointer uses the ESRI style scheme.
  callback -- Custom functon for handling tool text outputs.
docstring_tokens: Calculates the downslope flowpath length from each cell to basin outlet . Keyword arguments . - Input D8 pointer raster file . watersheds -- Optional input watershed raster file . weights -- Optional input weights raster file . output -- Output raster file . esri_pntr -- D8 pointer uses the ESRI style scheme . callback -- Custom functon for handling tool text outputs .
code: def downslope_flowpath_length(self, d8_pntr, output, watersheds=None, weights=None, esri_pntr=False, callback=default_callback):
          """Calculates the downslope flowpath length from each cell to basin outlet.
  
          Keyword arguments:
  
          d8_pntr -- Input D8 pointer raster file. 
          watersheds -- Optional input watershed raster file. 
          weights -- Optional input weights raster file. 
          output -- Output raster file. 
          esri_pntr -- D8 pointer uses the ESRI style scheme. 
          callback -- Custom functon for handling tool text outputs.
          """
          args = []
          args.append("--d8_pntr='{}'".format(d8_pntr))
          if watersheds is not None: args.append("--watersheds='{}'".format(watersheds))
          if weights is not None: args.append("--weights='{}'".format(weights))
          args.append("--output='{}'".format(output))
          if esri_pntr: args.append("--esri_pntr")
          return self.run_tool('downslope_flowpath_length', args, callback)
code_tokens: def downslope_flowpath_length ( self , d8_pntr , output , watersheds = None , weights = None , esri_pntr = False , callback = default_callback ) : args = [ ] args . append ( "--d8_pntr='{}'" . format ( d8_pntr ) ) if watersheds is not None : args . append ( "--watersheds='{}'" . format ( watersheds ) ) if weights is not None : args . append ( "--weights='{}'" . format ( weights ) ) args . append ( "--output='{}'" . format ( output ) ) if esri_pntr : args . append ( "--esri_pntr" ) return self . run_tool ( 'downslope_flowpath_length' , args , callback )
short_docstring: Calculates the downslope flowpath length from each cell to basin outlet.
short_docstring_tokens: Calculates the downslope flowpath length from each cell to basin outlet .
comment: """Calculates the downslope flowpath length from each cell to basin outlet.
  
          Keyword arguments:
  
          d8_pntr -- Input D8 pointer raster file. 
          watersheds -- Optional input watershed raster file. 
          weights -- Optional input weights raster file. 
          output -- Output raster file. 
          esri_pntr -- D8 pointer uses the ESRI style scheme. 
          callback -- Custom functon for handling tool text outputs.
          """