Skip to content

Commit

Permalink
Merge pull request #102 from WorldCereal/develop
Browse files Browse the repository at this point in the history
Merge branch 'develop' into 'main'
  • Loading branch information
mbattude-cs authored Jun 8, 2022
2 parents ae27ec5 + 8a16cf0 commit 88ec784
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/ewoc_dag/cli_dem.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ def get_dem_data(
resolution=dem_resolution, to_sen2cor=to_sen2cor
)
else:
raise ValueError
raise ValueError("DEM type different than srtm, copdem is not possible!")


# ---- CLI ----
Expand Down
2 changes: 1 addition & 1 deletion src/ewoc_dag/eo_prd_id/s1_prd_id.py
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ def beam_mode(self):

@beam_mode.setter
def beam_mode(self, value):
allowed_values = ['IW', 'EW', 'WV']
allowed_values = ['SM', 'IW', 'EW', 'WV']
if value in allowed_values:
self._beam_mode = value
else:
Expand Down
2 changes: 1 addition & 1 deletion src/ewoc_dag/eodag_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def get_product_by_id(
products, _ = dag.search(id=product_id, provider=provider)
if not products:
logging.error("No results return by eodag!")
raise ValueError
raise ValueError("No results return by eodag!")
out_prd_path = dag.download(products[0], outputs_prefix=out_dir)
# delete zip file
list_out = os.listdir(out_dir)
Expand Down

0 comments on commit 88ec784

Please sign in to comment.