Skip to content

Commit

Permalink
Merge pull request #288 from johntruckenbrodt/feature/drivers_geometry
Browse files Browse the repository at this point in the history
enable method geometry for additional driver classes
  • Loading branch information
johntruckenbrodt authored Dec 14, 2023
2 parents 176c52e + cb673c4 commit 53116f3
Show file tree
Hide file tree
Showing 3 changed files with 173 additions and 175 deletions.
2 changes: 1 addition & 1 deletion pyroSAR/ERS/auxil.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ def passdb_query(satellite, acqtime, dbname=None):
elif satellite == 'ERS2':
sat = 'ERS2'
else:
raise ValueError("satellite must be either 'ERS1' or 'ERS2'")
raise ValueError("satellite must be either 'ERS1' or 'ERS2', was '{}'".format(satellite))

if dbname is None:
dbname = os.path.join(os.path.dirname(os.path.realpath(__file__)), 'data', 'erspasses.db')
Expand Down
Loading

0 comments on commit 53116f3

Please sign in to comment.