Skip to content

Main content

Rain Accumulation Clock Gap Tool

Calculate rain accumulation clock gap from explicit caller-supplied inputs.

Loading tool…

Description

Return gauge minus reference start and end gaps, and gauge duration minus reference duration.

Weather observation clocks and accumulation intervals can have offsets, drift, or resets. Correcting a supplied clock model differs from inferring an actual missing observation or synchronization history.

Return gauge minus reference start and end gaps, and gauge duration minus reference duration.

When to use this tool

Use Rain Accumulation Clock Gap when you need one explicit observation-time comparison or correction.

How to use the tool and how it works

  1. Enter gaugeStart, gaugeEnd, referenceStart, referenceEnd. 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 startGap, endGap, durationGap. Use the output convention below.

Require ordered gauge and reference intervals. Return gauge minus reference start and end gaps, and gauge duration minus reference duration.1

Input fieldMeaning and unitsAccepted input
gaugeStartGauge StartRequired. Finite number.
gaugeEndGauge EndRequired. Finite number.
referenceStartReference StartRequired. Finite number.
referenceEndReference EndRequired. Finite number.
Output fieldInterpretationReturned shape
startGapStart GapRequired. Finite number.
endGapEnd GapRequired. Finite number.
durationGapDuration GapRequired. Finite number.
json
{
  "input": {
    "gaugeStart": 1,
    "gaugeEnd": 12,
    "referenceStart": 0,
    "referenceEnd": 10
  },
  "output": {
    "startGap": 1,
    "endGap": 2,
    "durationGap": 1
  }
}

Limitations and assumptions

  • All coordinates share a time basis; differences do not correct the records or establish which interval is authoritative.
  • 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.
  • Numeric calculations use binary floating point unless exact decimal-integer arithmetic is explicitly stated. No hidden measurement tolerance or decimal rounding is added; nonfinite or out-of-contract results are rejected. Numeric signed-zero results are exported as zero.

Alternative or Complementary methods

Check logger metadata, reference clocks, and the complete observation sequence before adjusting a data series.

References

  1. Calculation and input contract: hydrometeorology/rain-accumulation-clock-gap — tool.io

Similar or alternative tools