opera-adt / COMPASS

COregistered Multi-temPorAl Sar Slc
Apache License 2.0
38 stars 18 forks source link

[Bug]: codacy issues with `try/except`s `compass.utils.helpers.open_raster` from #164 unaddressed #165

Closed LiangJYu closed 1 year ago

LiangJYu commented 1 year ago

Checked for duplicates

Yes - I've already checked

Describe the bug

Do to severe time constraints, a couple codacy issues were not addressed when #164 was squashed/merged.

Issue one: "Try, Except, Pass detected" in compass.utils.helpers.open_raster

Issue two: "No exception type(s) specified" in compass.utils.helpers.open_raster

What did you expect?

I expected codacy to not raise issues.

Reproducible steps

No response

Environment

Everything