NASA-IMPACT / NASA-IMPACT/veda-data

Add collection thumbnails

Open
#122 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Jupyter Notebook
Stars
9
Forks
1
Avg merge
1d 9m
Merged PRs (30d)
1

Description

Our collections currently do not have thumbnails.

Motivation

There are several reasons to add collection thumbnails

  1. They make for a much nicer STAC catalog browsing experience in various clients, most notably STAC Browser
  2. We would like other clients, in particular VEDA UI, to be able to load collection thumbnails from STAC instead of from their own parallel config

Example

Planetary Computer is a very nice reference for how to get the most out of STAC:

Microsoft Planetary Computer VEDA Earthdata Dashboard

The collection thumbnail is stored as an asset:

image
https://planetarycomputer.microsoft.com/api/stac/v1/collections

Description

In VEDA UI, the concept of "Datasets" maps to STAC collections. It can also map to other things (e.g. CMR concepts etc.), but in the case of STAC, it's just collections.

We already have thumbnails for the Datasets in the VEDA Earthdata Dashboard, which we could just copy over:

image

(see png files in the config repo)

We would need to find a good place to host these thumbnails, as they are not STAC db material, I guess.

We do not want to reference VEDA UI config, because in the future VEDA UI should get them from the STAC-colocated source.

Planetary Computer has them in a dedicated object storage (blob storage in Azure in their case).

Acceptance criteria

  • Decided on a place to store the thumbnails
  • Copied thumbnails from veda-config
  • Added thumbnail references to STAC

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the PNG files in the veda-config develop/datasets directory and the existing STAC collection output. Determine where the thumbnails should be hosted, copy the referenced assets, and add thumbnail references to the STAC collections. Done means the storage location is decided and clients can load the thumbnails from STAC.

Written by the indexing model from the issue text.

Assessment

Domain
data
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.