StacProvider¶
Import path: earth2studio.data.stac.StacProvider
Documentation¶
A STAC API endpoint and how to turn its asset hrefs into GDAL paths.
Parameters:
-
name(str) –Short provider name, e.g.
"planetary-computer". -
api_url(str) –STAC API root URL.
-
sign(Callable[[str, Mapping[str, Any]], str], default:_sign_generic) –Maps an asset href (plus the merged item/asset properties and the item's
collectionid) to a path GDAL can read: Planetary Computer blobs are read with GDAL's built-in SAS signing (one token per collection), Earth Searchs3://hrefs over public HTTPS. The default wraps http(s) hrefs in/vsicurland leaves other hrefs unchanged.