Description
Record a literal lithology code and its supplied source.
Earth-science records distinguish depth signs, vertical datums, before-present ages, calibration factors and specimen definitions. Apparent porosity can be negative for inconsistent density inputs, and core recovery may exceed the drilled interval. Local labels and supplied transformations do not establish geological interpretation, physical validity or actual observation quality.
Record a literal lithology code and its supplied source.
When to use this tool
Use Sample Lithology Source Key when you already have sampleId, lithologyCode, classificationSource and need to record a literal lithology code and its supplied source.
How to use the tool and how it works
- Enter sampleId, lithologyCode, classificationSource. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- Read token. Use the output convention below.
Enter sampleId, lithologyCode, classificationSource using the field constraints below. Encode these values, in exactly that order, as a JSON array and return the serialized array as text in token. String values are preserved without trimming or external terminology lookup.1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| sampleId | Sample Id | Required. Text; minimum UTF-16 length 1; maximum UTF-16 length 8192. |
| lithologyCode | Lithology Code | Required. Text; minimum UTF-16 length 1; maximum UTF-16 length 8192. |
| classificationSource | Classification Source | Required. Text; minimum UTF-16 length 1; maximum UTF-16 length 8192. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| token | Token | Required. Text; maximum UTF-16 length 8192. |
{
"input": {
"sampleId": "S17",
"lithologyCode": "L-A",
"classificationSource": "Log key v3"
},
"output": {
"token": "[\"S17\",\"L-A\",\"Log key v3\"]"
}
} Limitations and assumptions
- The result records supplied values without identifying a rock type. Sources and asserted relationships are not independently authenticated.
- Inputs must satisfy both the field types and the cross-field conditions above. Invalid input causes an error; a successful false flag or documented placeholder is a different result.
Alternative or Complementary methods
Use verified survey, sample, sensor and timescale records with consistent units and reference frames. Apply the complete geological, hydrological or physical model when local density ratios, depth spans or calibration terms cannot establish the required interpretation.
References
Similar or alternative tools
- Geologic Time Boundary Version Key
Record an explicit geologic time-boundary identifier and time-scale source version.
- Borehole Measured Truevertical Depth Label
Preserve an explicitly supplied borehole depth transcription and convention.