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
1b46a606
Commit
1b46a606
authored
Mar 29, 2021
by
Gaetano Raffaele
Browse files
FIX: problem with date ordering in feature stack.
parent
fe2e24bd
Changes
1
Hide whitespace changes
Inline
Side-by-side
s1process.py
View file @
1b46a606
...
...
@@ -478,8 +478,8 @@ def createS1Features(fld, base_name='S1series', out_fld=None, features=None, con
if
out_fld
is
None
:
out_fld
=
fld
lst_vh
=
sorted
(
glob
.
glob
(
fld
+
os
.
sep
+
'*iw-grd-vh*.tiff'
),
key
=
lambda
x
:
x
[
14
:
22
])
lst_vv
=
sorted
(
glob
.
glob
(
fld
+
os
.
sep
+
'*iw-grd-vv*.tiff'
),
key
=
lambda
x
:
x
[
14
:
22
])
lst_vh
=
sorted
(
glob
.
glob
(
fld
+
os
.
sep
+
'*iw-grd-vh*.tiff'
),
key
=
lambda
x
:
os
.
path
.
basename
(
x
)
[
14
:
22
])
lst_vv
=
sorted
(
glob
.
glob
(
fld
+
os
.
sep
+
'*iw-grd-vv*.tiff'
),
key
=
lambda
x
:
os
.
path
.
basename
(
x
)
[
14
:
22
])
# Check date correspondance
dates_vh
=
[
os
.
path
.
basename
(
l
)[
14
:
22
]
for
l
in
lst_vh
]
...
...
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