microbiomedata / nmdc-server

Data portal client and server for NMDC.
https://data.microbiomedata.org
Other
9 stars 0 forks source link

Initial implementation of metadata suggestion endpoint #1403

Closed pkalita-lbl closed 1 month ago

pkalita-lbl commented 1 month ago

Fixes #1382

Summary

The context for this change is Milestone 3.3 (https://github.com/microbiomedata/issues/issues/473), which is about adding functionality to the submission portal where partial sample metadata is used to make suggestions for other metadata fields.

These changes add an initial metadata suggestion endpoint. It implements suggestions for elevation based on latitude and longitude (via the nmdc-geoloc-tools package). There is a bit of an eye here towards making it easy to extend this in the future.

The new endpoint is not currently used by anything. See https://github.com/microbiomedata/nmdc-server/issues/1381 and https://github.com/microbiomedata/nmdc-server/issues/1383 for more info on how this will be integrated on the client side.

Details