-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Integrate ORNL DAAC Identify calls #10
Comments
@cmungall @StantonMartin should this issue be closed, moved to the backlog or moved to the October sprint? |
No updates on this since August so I've added the backlog label and removed from the project board. |
Integration complete. Closing |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The goal is to implement methods within the NMDC sample-annotator framework to access DAAC APIs, and transform the results into json objects conforming to the JSON schema. Broadly there are two types of calls, those that produce (1) QUantityValues, e.g. elevation (2) qualitative, e.g. soil types.
@StantonMartin started on code here: https://github.com/StantonMartin/Identify/
However, this functionality will not be implemented as a standalone script, but in sample-annotator framework. Before attempting to implement this ticket, the implementor must familiarize themselves with the code in this repo, see the README and the unit tests.
As a stub example, the existing codebase uses the google maps API to query for elevation.
See code:
sample-annotator/sample_annotator/geolocation/geotools.py
Lines 34 to 36 in bc17c12
and the unit test:
sample-annotator/tests/test_elevation.py
Lines 16 to 26 in bc17c12
You can see how this is implemented within the main sample annotator here:
sample-annotator/sample_annotator/sample_annotator.py
Lines 213 to 251 in bc17c12
[ADDING MORE LATER...]
For qualitative data we will curate mapping tables, see my PR here: StantonMartin/Identify#1
The text was updated successfully, but these errors were encountered: