Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Gaetano Raffaele
moringa
Commits
c35229dd
Commit
c35229dd
authored
Jun 23, 2021
by
Gaetano Raffaele
Browse files
FIX: mosaicking single date scenes using max (avoids artefacts).
parent
5826ba1e
Changes
1
Hide whitespace changes
Inline
Side-by-side
s1process.py
View file @
c35229dd
...
...
@@ -495,7 +495,7 @@ def extractROI(infiles, outdir, roi, roiname=None, ncores=12, overwrite=False, v
"""
mbm
=
otb
.
Registry
.
CreateApplication
(
'BandMathX'
)
mbm
.
SetParameterStringList
(
'il'
,
l
)
mbm
.
SetParameterString
(
'exp'
,
'vmax({'
+
';'
.
join
([
'im%db1'
%
i
for
i
in
len
(
l
)])
+
'})'
)
mbm
.
SetParameterString
(
'exp'
,
'vmax({'
+
';'
.
join
([
'im%db1'
%
i
for
i
in
range
(
len
(
l
)
)
])
+
'})'
)
mbm
.
SetParameterString
(
'out'
,
outfile
)
mbm
.
ExecuteAndWriteOutput
()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment