johntruckenbrodt/pyroSAR

CDSE zipfiles with implicit directories fail to identify

Closed this issue · 0 comments

As reported in johntruckenbrodt/spatialist#36, newer CDSE zip files have issues matching the SAFE pattern, and result in a runtime error. This will have to be resolved in spatialist and update pyroSAR's requirement

from pyroSAR.drivers import SAFE

scene = "tmp/s1/S1A_IW_GRDH_1SDV_20231007T184542_20231007T184607_050663_061AA6_A057.zip"
driver = SAFE(scene)
driver.scene
RuntimeError: scene does not match SAFE naming convention