Description
Return exact channel-and-source concordance with supplied expected labels.
Farm data records connect field, event, sensor and source identifiers with observation and verification flags. Literal keys and supported-record shares help reconcile those records without authenticating a source, identifying a physical object or establishing measurement quality. Repeated IDs may need a different denominator from repeated rows.
Return exact channel-and-source concordance with supplied expected labels.
When to use this tool
Use Farm Sensor Channel Code Source Pair when checking the stated agricultural source, identity or record-support convention.
How to use the tool and how it works
- Enter channel, source, expectedChannel, expectedSource. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- Read matches, key. Inspect matches before interpreting the associated values.
Return exact channel-and-source concordance with supplied expected labels. Encode [source,channel] as JSON text for the key.1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| channel | Channel | Required. Text; maximum UTF-16 length 8192. |
| source | Caller-supplied source label, not independently authenticated. | Required. Text; maximum UTF-16 length 8192. |
| expectedChannel | Expected Channel | Required. Text; maximum UTF-16 length 8192. |
| expectedSource | Expected Source | Required. Text; maximum UTF-16 length 8192. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| matches | Matches | Required. Boolean. |
| key | Key | Required. Text; maximum UTF-16 length 8192. |
{
"input": {
"channel": "soil-1",
"source": "logger-A",
"expectedChannel": "soil-1",
"expectedSource": "logger-A"
},
"output": {
"matches": true,
"key": "[\"logger-A\",\"soil-1\"]"
}
} Limitations and assumptions
- No channel registry, source authentication or calibration lookup occurs; string equality is case-sensitive.
- 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
Inspect original records, authoritative identifier schemes and calibrated measurements before merging data or drawing agricultural conclusions.
References
Similar or alternative tools
- Farm Work Order Corrected Source Link
Independently compare originalId with correctionParent and correctedVersion with originalVersion; a linked correction need not have a later version.
- Agricultural Unit Code Source Gap
Check literal membership of code in knownCodes and equality of actualSource with expectedSource.