I tracked down the issue to the use of os.path.normpath in xarray_sentinel.esa_safe.get_ancillary_data_paths, which, on Windows, converts forward slashes in backslashes, perfectly valid for ordinary files but not accepted by fsspeczip protocol.
In deed, @alexamici put a comment indicating the hackiness of such normalization, but it is not clear to me what issue it tries to address.
It is easier to check at the result of
open_dataset
:I tracked down the issue to the use of
os.path.normpath
in xarray_sentinel.esa_safe.get_ancillary_data_paths, which, on Windows, converts forward slashes in backslashes, perfectly valid for ordinary files but not accepted byfsspec
zip
protocol.In deed, @alexamici put a comment indicating the hackiness of such normalization, but it is not clear to me what issue it tries to address.