digitalcrust / AboutDigitalCrust

Information about the NSF EarthCube Digital Crust project for context in this GitHub org
0 stars 0 forks source link

Working source for lithology values #1

Open skybristol opened 8 years ago

skybristol commented 8 years ago

One of the conceptual "anchoring" points for observation and measurement data we are bringing into the Digital Crust model is rock type or lithology. There are any number of sources for this, but because we are teamed up and building around the Macrostrat scaffolding and they've got a useful API, we are using their list. What we are using can be found at this end point:

https://dev.macrostrat.org/api/v2/defs/lithologies

https://dev.macrostrat.org/api/v2/defs/lithologies?all will return the full slate.

skybristol commented 8 years ago

We haven't quite gotten to the point of linking all our concepts together via URIs, but we will likely use something like https://dev.macrostrat.org/api/v2/defs/lithologies?lith_id=3 as a reasonable persistent ID for individual lithology types when we do.