collections¶
Import path: earth2studio.data.stac.collections
Documentation¶
List a catalog's collections with their asset keys and extents.
Filtering is client-side over /collections (neither Planetary
Computer nor Earth Search serve a collection-search extension).
Parameters:
-
provider(StacProvider, default:PLANETARY_COMPUTER) –Catalog to list, by default PLANETARY_COMPUTER
-
bbox(Sequence[float] | None, default:None) –Keep collections whose overall spatial extent intersects this
[min_lon, min_lat, max_lon, max_lat]box, by default None -
text(str | None, default:None) –Case-insensitive substring matched on id and title, by default None
-
sample_assets(bool, default:True) –Fetch one item per matching collection to list its asset keys (one extra request per collection), by default True
Returns: