Skip to content

Main content

Radar Pixel Support Share Tool

Calculate radar pixel support share from explicit caller-supplied inputs.

Loading tool…

Description

Count supported included pixels and included pixels, divide for share, or return share zero with defined false when none are included.

Coverage measures describe how much of a stated observation domain has supplied support. Pixel-count, time-weighted, and area-weighted shares answer different questions and need explicit denominators.

Count supported included pixels and included pixels, divide for share, or return share zero with defined false when none are included.

When to use this tool

Use Radar Pixel Support Share when you need a bounded weather-observation support component.

How to use the tool and how it works

  1. Enter supported, included. Keep parallel arrays aligned. 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 supportedIncluded, includedCount, share, defined. Inspect defined before interpreting the associated values.

Require aligned supported and included flags. Count supported included pixels and included pixels, divide for share, or return share zero with defined false when none are included.1

Input fieldMeaning and unitsAccepted input
supportedWhether the supplied record meets this specific support condition.Required. Array of boolean; maximum items 256.
includedIncludedRequired. Array of boolean; maximum items 256.
Output fieldInterpretationReturned shape
supportedIncludedSupported IncludedRequired. Safe integer.
includedCountIncluded CountRequired. Safe integer.
shareDimensionless share under the stated denominator and exclusion convention.Required. Finite number.
definedWhether the associated ratio has its required denominator; inspect before using a zero placeholder.Required. Boolean.
json
{
  "input": {
    "supported": [
      true,
      false,
      true
    ],
    "included": [
      true,
      true,
      false
    ]
  },
  "output": {
    "supportedIncluded": 1,
    "includedCount": 2,
    "share": 0.5,
    "defined": true
  }
}

Limitations and assumptions

  • This is an unweighted pixel-count fraction, not an area-weighted or quality-estimated rainfall coverage measure; supplied support flags are not independently verified.
  • 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

Keep observed coverage separate from extrapolated totals and assess missing-data mechanisms before filling gaps.

References

  1. Calculation and input contract: hydrometeorology/radar-pixel-support-share — tool.io

Similar or alternative tools