original_docstring: Calculates an FD8 flow accumulation raster from an input DEM.
  
          Keyword arguments:
  
          dem -- Input raster DEM file. 
          output -- Output raster file. 
          out_type -- Output type; one of 'cells', 'specific contributing area' (default), and 'catchment area'. 
          exponent -- Optional exponent parameter; default is 1.1. 
          threshold -- Optional convergence threshold parameter, in grid cells; default is inifinity. 
          log -- Optional flag to request the output be log-transformed. 
          clip -- Optional flag to request clipping the display max by 1%. 
          callback -- Custom functon for handling tool text outputs.
          
docstring: Calculates an FD8 flow accumulation raster from an input DEM.
  Keyword arguments.
  
  - Input raster DEM file.
  output -- Output raster file.
docstring_tokens: Calculates an FD8 flow accumulation raster from an input DEM . Keyword arguments . - Input raster DEM file . output -- Output raster file .
code: def fd8_flow_accumulation(self, dem, output, out_type="specific contributing area", exponent=1.1, threshold=None, log=False, clip=False, callback=default_callback):
          """Calculates an FD8 flow accumulation raster from an input DEM.
  
          Keyword arguments:
  
          dem -- Input raster DEM file. 
          output -- Output raster file. 
          out_type -- Output type; one of 'cells', 'specific contributing area' (default), and 'catchment area'. 
          exponent -- Optional exponent parameter; default is 1.1. 
          threshold -- Optional convergence threshold parameter, in grid cells; default is inifinity. 
          log -- Optional flag to request the output be log-transformed. 
          clip -- Optional flag to request clipping the display max by 1%. 
          callback -- Custom functon for handling tool text outputs.
          """
          args = []
          args.append("--dem='{}'".format(dem))
          args.append("--output='{}'".format(output))
          args.append("--out_type={}".format(out_type))
          args.append("--exponent={}".format(exponent))
          if threshold is not None: args.append("--threshold='{}'".format(threshold))
          if log: args.append("--log")
          if clip: args.append("--clip")
          return self.run_tool('fd8_flow_accumulation', args, callback)
code_tokens: def fd8_flow_accumulation ( self , dem , output , out_type = "specific contributing area" , exponent = 1.1 , threshold = None , log = False , clip = False , callback = default_callback ) : args = [ ] args . append ( "--dem='{}'" . format ( dem ) ) args . append ( "--output='{}'" . format ( output ) ) args . append ( "--out_type={}" . format ( out_type ) ) args . append ( "--exponent={}" . format ( exponent ) ) if threshold is not None : args . append ( "--threshold='{}'" . format ( threshold ) ) if log : args . append ( "--log" ) if clip : args . append ( "--clip" ) return self . run_tool ( 'fd8_flow_accumulation' , args , callback )
short_docstring: Calculates an FD8 flow accumulation raster from an input DEM.
short_docstring_tokens: Calculates an FD8 flow accumulation raster from an input DEM .
comment: """Calculates an FD8 flow accumulation raster from an input DEM.
  
          Keyword arguments:
  
          dem -- Input raster DEM file. 
          output -- Output raster file. 
          out_type -- Output type; one of 'cells', 'specific contributing area' (default), and 'catchment area'. 
          exponent -- Optional exponent parameter; default is 1.1. 
          threshold -- Optional convergence threshold parameter, in grid cells; default is inifinity. 
          log -- Optional flag to request the output be log-transformed. 
          clip -- Optional flag to request clipping the display max by 1%. 
          callback -- Custom functon for handling tool text outputs.
          """