- read_stac(uri: str, extract_dir: Optional[str] = None, **kwargs) List[dict] #
Parse the contents of a STAC catalog.
The file is downloaded if needed. If it is a zip file, it is unzipped and the catalog.json inside is parsed.
A list of dicts with keys: “label_uri”, “image_uris”, “label_bbox”, “image_bbox”, “bboxes_intersect”, and “aoi_geometry”. Each dict corresponds to one label item and its associated image assets in the STAC catalog.
- Return type