Skip to content

Commit

Permalink
FIX: Fix Sentinel-1 name with weird PDFs names (i.e. ending with `.SA…
Browse files Browse the repository at this point in the history
…FE-report...`)
  • Loading branch information
remi-braun committed Nov 4, 2024
1 parent 921465c commit bb5fce5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@

## 0.21.7 (2024-mm-dd)

- FIX: Handle ICEYE products with missing quicklook.
- FIX: Handle ICEYE products with missing quicklook
- FIX: Fix Sentinel-1 name with weird PDFs names (i.e. ending with `.SAFE-report...`)

## 0.21.6 (2024-10-17)

Expand Down
2 changes: 2 additions & 0 deletions eoreader/products/sar/s1_product.py
Original file line number Diff line number Diff line change
Expand Up @@ -388,6 +388,8 @@ def _get_name_constellation_specific(self) -> str:
)
else:
name = path.get_filename(pdf_file)
if ".SAFE" in name:
name = name.split(".SAFE")[0]

return name

Expand Down

0 comments on commit bb5fce5

Please sign in to comment.