12-21-2020 11:35 AM
I'm converting Spatial Modeler tools to Python code and I'm trying to figure out how to seperate the Raster Information output so that the 'Check If MS Unsiged' can get the Data Type and the 'Dynamic Table Series' can get the Band Count. Any suggestions on what the Python code might look like for the Raster Information Output?
Solved! Go to Solution.
01-21-2021 12:03 PM
I was attempting to convert everything I saw in the NNDiffuse Model Editor but after getting stuck I just tried:
in = m.PanSharpenByNNDiffuse(input1, input2) out = m.RasterOutput(in, outputDirectory)
Annnnd it worked hah! I chose the difficult path of trying to recreate everything inside of the tool when there was an easier answer all along.