You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi All,
I've downloaded band files for Sentinel 2A from the Copernicus Browser, and I think Copernicus might have changed their file naming style from what they used before?
File names I had downloaded:
Updating filename_regex is easy because we can use "or" in the regex, but updating date_format is much harder because only a single value is currently allowed. We would have to allow multiple possible values of date_format and try all of them. Do you know if there's any documentation that describes the Copernicus Browser naming scheme? It's frustrating when there are several official download sites and they all use a different naming scheme...
FWIW, you can always subclass Sentinel2 and write your own custom regex/format. But I would love to be able to support this out of the box if we can.
Description
Hi All,
I've downloaded band files for Sentinel 2A from the Copernicus Browser, and I think Copernicus might have changed their file naming style from what they used before?
File names I had downloaded:
Trying to use the load dataset function described in the docs (https://torchgeo.readthedocs.io/en/stable/api/datasets.html#torchgeo.datasets.Sentinel2) results in the following error
as it can't recognise the filenames as they differ from the expected format.
Steps to reproduce
Version
0.5.1
The text was updated successfully, but these errors were encountered: