digitalearthpacific / dep-tools

Processing tools for Digital Earth Pacific
MIT License
1 stars 0 forks source link

Replace Path with URL for parsing URLs. Add a test #14

Closed alexgleith closed 11 months ago

alexgleith commented 11 months ago

Using pathlib.Path for parsing URLs drops one of the /s in https://, see assets here https://deppcpublicstorage.blob.core.windows.net/output/dep_s2_mangroves/0-0-3/FJ/001/2022/dep_s2_mangroves_FJ_001_2022.stac-item.json

Switching to urlpath seems simple and sensible.