earthdaily.earthdatastore.enhance_assets

earthdaily.earthdatastore.enhance_assets(items, alternate='download', use_http_url=False, add_default_scale_factor=False)[source]

Enhance STAC item assets with additional metadata and URL transformations.

Parameters:
  • items (ItemCollection) – Collection of STAC items to enhance

  • alternate (Optional[str], optional) – Alternate asset href to use, by default “download”

  • use_http_url (bool, optional) – Convert cloud URLs to HTTP URLs, by default False

  • add_default_scale_factor (bool, optional) – Add default scale, offset, nodata to raster bands, by default False

Returns:

Enhanced collection of STAC items

Return type:

ItemCollection