original_docstring: Increases the spatial resolution of image data by combining multispectral bands with panchromatic data.
  
          Keyword arguments:
  
          red -- Input red band image file. Optionally specified if colour-composite not specified. 
          green -- Input green band image file. Optionally specified if colour-composite not specified. 
          blue -- Input blue band image file. Optionally specified if colour-composite not specified. 
          composite -- Input colour-composite image file. Only used if individual bands are not specified. 
          pan -- Input panchromatic band file. 
          output -- Output colour composite file. 
          method -- Options include 'brovey' (default) and 'ihs'. 
          callback -- Custom functon for handling tool text outputs.
          
docstring: Increases the spatial resolution of image data by combining multispectral bands with panchromatic data.
  Keyword arguments.
  
  - Input red band image file. Optionally specified if colour-composite not specified.
  green -- Input green band image file. Optionally specified if colour-composite not specified.
  blue -- Input blue band image file. Optionally specified if colour-composite not specified.
  composite -- Input colour-composite image file. Only used if individual bands are not specified.
  pan -- Input panchromatic band file.
  output -- Output colour composite file.
  method -- Options include 'brovey' (default) and 'ihs'.
  callback -- Custom functon for handling tool text outputs.
docstring_tokens: Increases the spatial resolution of image data by combining multispectral bands with panchromatic data . Keyword arguments . - Input red band image file . Optionally specified if colour - composite not specified . green -- Input green band image file . Optionally specified if colour - composite not specified . blue -- Input blue band image file . Optionally specified if colour - composite not specified . composite -- Input colour - composite image file . Only used if individual bands are not specified . pan -- Input panchromatic band file . output -- Output colour composite file . method -- Options include ' brovey ' ( default ) and ' ihs ' . callback -- Custom functon for handling tool text outputs .
code: def panchromatic_sharpening(self, pan, output, red=None, green=None, blue=None, composite=None, method="brovey", callback=default_callback):
          """Increases the spatial resolution of image data by combining multispectral bands with panchromatic data.
  
          Keyword arguments:
  
          red -- Input red band image file. Optionally specified if colour-composite not specified. 
          green -- Input green band image file. Optionally specified if colour-composite not specified. 
          blue -- Input blue band image file. Optionally specified if colour-composite not specified. 
          composite -- Input colour-composite image file. Only used if individual bands are not specified. 
          pan -- Input panchromatic band file. 
          output -- Output colour composite file. 
          method -- Options include 'brovey' (default) and 'ihs'. 
          callback -- Custom functon for handling tool text outputs.
          """
          args = []
          if red is not None: args.append("--red='{}'".format(red))
          if green is not None: args.append("--green='{}'".format(green))
          if blue is not None: args.append("--blue='{}'".format(blue))
          if composite is not None: args.append("--composite='{}'".format(composite))
          args.append("--pan='{}'".format(pan))
          args.append("--output='{}'".format(output))
          args.append("--method={}".format(method))
          return self.run_tool('panchromatic_sharpening', args, callback)
code_tokens: def panchromatic_sharpening ( self , pan , output , red = None , green = None , blue = None , composite = None , method = "brovey" , callback = default_callback ) : args = [ ] if red is not None : args . append ( "--red='{}'" . format ( red ) ) if green is not None : args . append ( "--green='{}'" . format ( green ) ) if blue is not None : args . append ( "--blue='{}'" . format ( blue ) ) if composite is not None : args . append ( "--composite='{}'" . format ( composite ) ) args . append ( "--pan='{}'" . format ( pan ) ) args . append ( "--output='{}'" . format ( output ) ) args . append ( "--method={}" . format ( method ) ) return self . run_tool ( 'panchromatic_sharpening' , args , callback )
short_docstring: Increases the spatial resolution of image data by combining multispectral bands with panchromatic data.
short_docstring_tokens: Increases the spatial resolution of image data by combining multispectral bands with panchromatic data .
comment: """Increases the spatial resolution of image data by combining multispectral bands with panchromatic data.
  
          Keyword arguments:
  
          red -- Input red band image file. Optionally specified if colour-composite not specified. 
          green -- Input green band image file. Optionally specified if colour-composite not specified. 
          blue -- Input blue band image file. Optionally specified if colour-composite not specified. 
          composite -- Input colour-composite image file. Only used if individual bands are not specified. 
          pan -- Input panchromatic band file. 
          output -- Output colour composite file. 
          method -- Options include 'brovey' (default) and 'ihs'. 
          callback -- Custom functon for handling tool text outputs.
          """