Skip to content

Commit c9b3e43

Browse files
committed
FIX: Fix SNAP fallback issue
1 parent 497bf4b commit c9b3e43

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

eoreader/products/sar/sar_product.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1117,7 +1117,7 @@ def _pre_process_snap(
11171117
assert AnyPath(pp_dim).suffix == ".dim", (
11181118
f"Assert {pp_dim} is written in BEAM-DIMAP"
11191119
)
1120-
assert AnyPath(pp_dim).is_dir(), f"Assert {pp_dim} is a directory"
1120+
assert AnyPath(pp_dim).exists(), f"Assert {pp_dim} exists"
11211121

11221122
# With SNAP 13.0.0, there is an issue with CSK and calibration:
11231123
# - no output is written for DGM

0 commit comments

Comments
 (0)