Commit d76721b4 authored by Gaetano Raffaele's avatar Gaetano Raffaele
Browse files

WIP: complete refactoring of stratification application.

parent b0440258
......@@ -226,11 +226,7 @@ class LandscapeStratification(QgsProcessingAlgorithm):
def processAlgorithm(self, parameters, context, feedback):
Smooth_TS = self.parameterAsString(
parameters,
self.INPUT,
context
)
Smooth_TS = parameters['INPUT']
datefile = self.parameterAsString(
parameters,
......@@ -238,12 +234,7 @@ class LandscapeStratification(QgsProcessingAlgorithm):
context
)
output_raster = self.parameterAsString(
parameters,
self.OUTPUT,
context
)
output_raster = parameters['OUTPUT'].sink.staticValue()
output_folder = os.path.dirname(output_raster)
prefix = os.path.splitext(os.path.basename(output_raster))[0] + '_'
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment