Skip to content

Main content

Discharge Sample Time Support Label

Qualify an explicit discharge sample time-support label without treating instantaneous and averaged values as interchangeable.

Loading tool…

Description

Qualify an explicit discharge sample time-support label.

Water balances depend on the chosen inflow/outflow sign, system boundary and time support. Volume and discharge are different quantities, and a reported sample may represent a point, interval or aggregate. Preserving a source label or signed difference does not establish the full physical balance.

Qualify an explicit discharge sample time-support label.

When to use this tool

Use Discharge Sample Time Support Label when you already have sampleId, suppliedTimeSupport, source and need to qualify an explicit discharge sample time-support label.

How to use the tool and how it works

  1. Enter sampleId, suppliedTimeSupport, source. 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 token. Use the output convention below.

Enter sampleId, suppliedTimeSupport, source 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 fieldMeaning and unitsAccepted input
sampleIdSample IdRequired. Text; minimum UTF-16 length 1; maximum UTF-16 length 8192.
suppliedTimeSupportSupplied Time SupportRequired. Text; minimum UTF-16 length 1; maximum UTF-16 length 8192.
sourceSourceRequired. Text; minimum UTF-16 length 1; maximum UTF-16 length 8192.
Output fieldInterpretationReturned shape
tokenTokenRequired. Text; maximum UTF-16 length 8192.
json
{
  "input": {
    "sampleId": "S17",
    "suppliedTimeSupport": "instantaneous",
    "source": "Station record"
  },
  "output": {
    "token": "[\"S17\",\"instantaneous\",\"Station record\"]"
  }
}

Limitations and assumptions

  • The result records supplied values without treating instantaneous and averaged values as interchangeable. 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 the complete boundary, flow/storage observations and sampling-time definition for a water balance. Reconcile all relevant terms and units before interpreting one supplied sign convention or time-support label.

References

  1. Calculation and input contract: hydrology/discharge-sample-time-support-label — tool.io

Similar or alternative tools