original_docstring: Truncates the values in a raster to the desired number of decimal places.
  
          Keyword arguments:
  
          i -- Input raster file. 
          output -- Output raster file. 
          num_decimals -- Number of decimals left after truncation (default is zero). 
          callback -- Custom functon for handling tool text outputs.
          
docstring: Truncates the values in a raster to the desired number of decimal places.
  Keyword arguments.
  
  - Input raster file.
  output -- Output raster file.
  num_decimals -- Number of decimals left after truncation (default is zero).
  callback -- Custom functon for handling tool text outputs.
docstring_tokens: Truncates the values in a raster to the desired number of decimal places . Keyword arguments . - Input raster file . output -- Output raster file . num_decimals -- Number of decimals left after truncation ( default is zero ) . callback -- Custom functon for handling tool text outputs .
code: def truncate(self, i, output, num_decimals=None, callback=default_callback):
          """Truncates the values in a raster to the desired number of decimal places.
  
          Keyword arguments:
  
          i -- Input raster file. 
          output -- Output raster file. 
          num_decimals -- Number of decimals left after truncation (default is zero). 
          callback -- Custom functon for handling tool text outputs.
          """
          args = []
          args.append("--input='{}'".format(i))
          args.append("--output='{}'".format(output))
          if num_decimals is not None: args.append("--num_decimals='{}'".format(num_decimals))
          return self.run_tool('truncate', args, callback)
code_tokens: def truncate ( self , i , output , num_decimals = None , callback = default_callback ) : args = [ ] args . append ( "--input='{}'" . format ( i ) ) args . append ( "--output='{}'" . format ( output ) ) if num_decimals is not None : args . append ( "--num_decimals='{}'" . format ( num_decimals ) ) return self . run_tool ( 'truncate' , args , callback )
short_docstring: Truncates the values in a raster to the desired number of decimal places.
short_docstring_tokens: Truncates the values in a raster to the desired number of decimal places .
comment: """Truncates the values in a raster to the desired number of decimal places.
  
          Keyword arguments:
  
          i -- Input raster file. 
          output -- Output raster file. 
          num_decimals -- Number of decimals left after truncation (default is zero). 
          callback -- Custom functon for handling tool text outputs.
          """