opendatacube / datacube-explorer

Web-based exploration of Open Data Cube collections
Apache License 2.0
54 stars 31 forks source link

Add title field, currently same as id/name #516

Closed clausmichele closed 1 year ago

clausmichele commented 1 year ago

Currently the SATC metadata returned from datacube-explorer contains the two fields id and title, but they are set with the same value: https://github.com/opendatacube/datacube-explorer/blob/7866009396416c47fa6a6e2b7b91cff881770c28/cubedash/_stac.py#L811

How much work would it be to look for the title field and use it if available in the product definition? It wouldn't be a breaking change since it would still support all the product definitions without a title in them.

clausmichele commented 1 year ago

Created a PR to add this functionality: https://github.com/opendatacube/datacube-explorer/pull/517