original_docstring: Calculates the number of downslope neighbours to each grid cell in a DEM.
  
          Keyword arguments:
  
          dem -- Input raster DEM file. 
          output -- Output raster file. 
          callback -- Custom functon for handling tool text outputs.
          
docstring: Calculates the number of downslope neighbours to each grid cell in a DEM.
  Keyword arguments.
  
  - Input raster DEM file.
  output -- Output raster file.
  callback -- Custom functon for handling tool text outputs.
docstring_tokens: Calculates the number of downslope neighbours to each grid cell in a DEM . Keyword arguments . - Input raster DEM file . output -- Output raster file . callback -- Custom functon for handling tool text outputs .
code: def num_downslope_neighbours(self, dem, output, callback=default_callback):
          """Calculates the number of downslope neighbours to each grid cell in a DEM.
  
          Keyword arguments:
  
          dem -- Input raster DEM file. 
          output -- Output raster file. 
          callback -- Custom functon for handling tool text outputs.
          """
          args = []
          args.append("--dem='{}'".format(dem))
          args.append("--output='{}'".format(output))
          return self.run_tool('num_downslope_neighbours', args, callback)
code_tokens: def num_downslope_neighbours ( self , dem , output , callback = default_callback ) : args = [ ] args . append ( "--dem='{}'" . format ( dem ) ) args . append ( "--output='{}'" . format ( output ) ) return self . run_tool ( 'num_downslope_neighbours' , args , callback )
short_docstring: Calculates the number of downslope neighbours to each grid cell in a DEM.
short_docstring_tokens: Calculates the number of downslope neighbours to each grid cell in a DEM .
comment: """Calculates the number of downslope neighbours to each grid cell in a DEM.
  
          Keyword arguments:
  
          dem -- Input raster DEM file. 
          output -- Output raster file. 
          callback -- Custom functon for handling tool text outputs.
          """