Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Daniel Scheffler
arosics
Commits
de858d50
Commit
de858d50
authored
Sep 21, 2021
by
Daniel Scheffler
Browse files
Fixed message of assertion.
Signed-off-by:
Daniel Scheffler
<
danschef@gfz-potsdam.de
>
parent
d6d0054f
Pipeline
#27956
failed with stage
in 3 minutes and 51 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
arosics/CoReg.py
View file @
de858d50
...
...
@@ -94,7 +94,7 @@ class GeoArray_CoReg(GeoArray):
assert
self
.
bands
>=
self
.
band4match
+
1
>=
1
,
\
"The %s has %s %s. So its band number to match must be %s%s. Got %s."
\
%
(
self
.
imName
,
self
.
bands
,
'bands'
if
self
.
bands
>
1
else
'band'
,
'between 1 and '
if
self
.
bands
>
1
else
''
,
self
.
bands
,
self
.
band4match
)
'band'
,
'between 1 and '
if
self
.
bands
>
1
else
''
,
self
.
bands
,
self
.
band4match
+
1
)
# set footprint_poly
given_footprint_poly
=
CoReg_params
[
'footprint_poly_%s'
%
(
'ref'
if
imID
==
'ref'
else
'tgt'
)]
...
...
Write
Preview
Supports
Markdown
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