Commit 7b294225 authored by Gaetano Raffaele's avatar Gaetano Raffaele
Browse files

ENH: added parameter to separate S1A/S1B (useful?).

parent 325c40eb
No related merge requests found
Showing with 3 additions and 3 deletions
+3 -3
......@@ -733,10 +733,10 @@ def s1process(indir, outdir, epsg=None,
sys.exit('Invalid direction parameter.')
if satellite != 'both':
safe_files_s1a, safe_files_s1b = separateAscDesc(safe_files)
if direction == 's1a':
safe_files_s1a, safe_files_s1b = separateS1AS1B(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.')
......
Supports Markdown
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