We need a GUI to configure the Python Raster Funciton. These initialization def __init__(self):
, parameter definaition def getParameterInfo(self):
, configuration setting def getConfiguration(self, **scalars):
, and Raster Metadata Updating def updateRasterInfo(self, **kwargs):
should not look as complicated as the following:
def __init__(self):
self.name = "Compound Topographic Index"
self.description = ("Computes the compound topographic index (CTI), also "
"known as the topographic wetness index (TWI). "