ICOS-Carbon-Portal / meta

ICOS Carbon Portal metadata service
GNU General Public License v3.0
3 stars 1 forks source link

[uploadgui] Metadata update is broken on spatiotemporal objects with LatLonBox #199

Closed mirzov closed 1 year ago

mirzov commented 1 year ago

Example object: https://meta.icos-cp.eu/objects/EiJUQipylAKdSk9j1_kz_5qP

While fixing this, would be nice to find a solution to make UploadGUI work with non-LatLonBox object-specific spatial coverages. It would be too costly to add GUI for creating or editing all the types of spatial coverage that our API provides. However, it's possible to at least support limited metadata update for data objects with non-LatLonBox custom geo-coverage. Rather than crash, UploadGUI should preserve the existing custom coverage when it is available, and show some kind of warning for the user. When updated metadata is uploaded, the custom geo-coverage should be preserved as it was.

mirzov commented 1 year ago

The bug was fixed in 54677159 (deployment is pending as of the time of this writing)