Skip to content

Do not show download button for Zarr assets referenced with HTTP #758

@mario-winkler

Description

@mario-winkler

STAC assets representing Zarr data have references to a Zarr store, which is usually represented by a directory or an object store prefix in the storage system. When s3:// links are used, the Bowser shows a "Copy URL for S3" button to copy the url. In case of https:// links, a "Download" button is shown instead.

While the "Copy URL for S3" works fine, the "Download" leads to an error due to the layout of Zarr data on the storage (directory/object store prefix).

Example: https://stac.browser.user.eopf.eodc.eu/collections/sentinel-2-l2a/items/S2B_MSIL2A_20260123T094209_N0511_R036_T36WVT_20260123T115550?.language=en&.asset=asset-b02_10m

The proposal here is to hide the Download button for assets of type application/vnd+zarr which are referenced by HTTP links. Maybe this could be generalized by maintaining a (configurable) list of 'not-downloadable' media types which is considered before rendering the Download button...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions