Read
rustac.read
async
read(
href: str,
*,
format: str | None = None,
store: AnyObjectStore | None = None,
set_self_link: bool = True,
) -> dict[str, Any]
Reads STAC from a href.
Parameters:
-
href
(str
) âThe href to write to
-
format
(str | None
, default:None
) âThe input format. If not provided, will be inferred from the href's extension.
-
store
(AnyObjectStore | None
, default:None
) âAn optional [ObjectStore][]
-
set_self_link
(bool
, default:True
) âIf True, set the
self
link to the value ofhref
.
Returns:
-
dict[str, Any]
âThe STAC value
Examples: