Commit 0e14cdb0 authored by Lozac'h Loic's avatar Lozac'h Loic

debug

parent 9c22b49f
......@@ -253,9 +253,9 @@ def process_gpm(sar, sar3dates, gpmdir):
apps.append(app)
app0 = otbApplication.Registry.CreateApplication("BandMath")
app0.AddImageToParameterInputImageList("il", app[0].GetParameterOutputImage("out"))
app0.AddImageToParameterInputImageList("il", app[1].GetParameterOutputImage("out"))
app0.AddImageToParameterInputImageList("il", app[2].GetParameterOutputImage("out"))
app0.AddImageToParameterInputImageList("il", apps[0].GetParameterOutputImage("out"))
app0.AddImageToParameterInputImageList("il", apps[1].GetParameterOutputImage("out"))
app0.AddImageToParameterInputImageList("il", apps[2].GetParameterOutputImage("out"))
app0.SetParameterString("out", outfile)
app0.SetParameterOutputImagePixelType("out", otbApplication.ImagePixelType_uint8)
app0.SetParameterString("exp", "im1b1+im2b1+im3b1>5?2:1")
......
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