Skip to content

Main content

Farm Sensor Channel Code Source Pair Tool

Compare supplied farm sensor channel/source identifiers.

Loading tool…

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

  1. Enter channel, source, expectedChannel, expectedSource. Use the units and conventions below.
  2. Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
  3. 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 fieldMeaning and unitsAccepted input
channelChannelRequired. Text; maximum UTF-16 length 8192.
sourceCaller-supplied source label, not independently authenticated.Required. Text; maximum UTF-16 length 8192.
expectedChannelExpected ChannelRequired. Text; maximum UTF-16 length 8192.
expectedSourceExpected SourceRequired. Text; maximum UTF-16 length 8192.
Output fieldInterpretationReturned shape
matchesMatchesRequired. Boolean.
keyKeyRequired. Text; maximum UTF-16 length 8192.
json
{
  "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

  1. Calculation and input contract: agroinformatics/farm-sensor-channel-code-source-pair — tool.io

Similar or alternative tools