easysnowdata.optical.sentinel2.search#
- easysnowdata.optical.sentinel2.search(aoi: Any = None, time: Any = None, *, source: str | None = None, collection: str | None = None, cloud_cover: float | None = None, query: dict[str, Any] | None = None, max_items: int | None = None, **kwargs: Any) GeoDataFrame[source]#
Search one of the catalogs and return the items as a
GeoDataFrame.The frame carries every STAC property as a column plus
stac_item, so it can be filtered and handed straight toload().- Parameters:
aoi – The usual spatial and temporal inputs.
time – The usual spatial and temporal inputs.
source –
"planetary-computer"(default) or"earth-search".collection – A collection of that catalog (Earth Search also has
"sentinel-2-c1-l2a"and"sentinel-2-pre-c1-l2a").cloud_cover – Keep scenes with
eo:cloud_coverbelow this percentage.query – Passed to
easysnowdata.providers.stac.search().max_items – Passed to
easysnowdata.providers.stac.search().**kwargs – Passed to
easysnowdata.providers.stac.search().