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
7b294225
Commit
7b294225
authored
Mar 29, 2021
by
Gaetano Raffaele
Browse files
ENH: added parameter to separate S1A/S1B (useful?).
parent
325c40eb
Changes
1
Hide whitespace changes
Inline
Side-by-side
s1process.py
View file @
7b294225
...
...
@@ -733,10 +733,10 @@ def s1process(indir, outdir, epsg=None,
sys
.
exit
(
'Invalid direction parameter.'
)
if
satellite
!=
'both'
:
safe_files_s1a
,
safe_files_s1b
=
separate
AscDesc
(
safe_files
)
if
direction
==
's1a'
:
safe_files_s1a
,
safe_files_s1b
=
separate
S1AS1B
(
safe_files
)
if
satellite
==
's1a'
:
safe_files
=
safe_files_s1a
elif
direction
==
's1b'
:
elif
satellite
==
's1b'
:
safe_files
=
safe_files_s1b
else
:
sys
.
exit
(
'Invalid satellite parameter.'
)
...
...
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