coincident.io.download.read_href#
- async coincident.io.download.read_href(item, asset, config=None)[source]#
Open and read a STAC asset href into local memory
- Parameters:
- Return type:
- Returns:
Bytes read from file at corresponding href
Examples
Read cloud-cover MultiPolygon estimate from Vantor API:
bytes = asyncio.run(read_href(item, "cloud-cover")) gf_clouds = gpd.read_file(bytes)