Skip to content

Commit

Permalink
check S1 compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
ninsbl committed Aug 21, 2023
1 parent 31d1890 commit 6ca5a7b
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,12 @@ def gdar_geocode(
"""Perform actual geocding"""

# Read Sentinel-1 file
s1_file = reader(str(s1_file_path))
try:
s1_file = reader(str(s1_file_path))
except Exception:
gs.warning(_("Cannot open file {}").format(str(s1_file_path)))
return None

if use_precision_orbit:
gs.debug(_("Accessing precision orbits from remote..."))
try:
Expand Down

0 comments on commit 6ca5a7b

Please sign in to comment.