Skip to content

Commit

Permalink
new i.sentinel modules: i.sentinel.coverage: catch if input vector no…
Browse files Browse the repository at this point in the history
…t present
  • Loading branch information
neteler committed Nov 29, 2020
1 parent d8470b3 commit b0ad0c0
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,9 @@ def main():
settings = options['settings']
output = options['output']
area = options['area']
if not grass.find_file(area, element='vector')['file']:
grass.fatal(_("Vector map <%s> not found") % area)

if options['type'] == 's1':
producttype = 'GRD'
else:
Expand Down

0 comments on commit b0ad0c0

Please sign in to comment.