Skip to content

Main content

Water Column Layer Average

Average supplied layer values by nonnegative layer thickness for a positive finite total water-column depth.

Loading tool…

Description

Calculate a supplied depth-weighted water-column mean.

Aquatic measurements depend on depth datums, effective sampling area, layer weights and concentration definitions. Secchi pair averages differ from a full optical model, and particulate-by-difference values depend on comparable total/dissolved measurements. A nominal rectangular sampling volume does not establish actual filtered effort or detection.

Calculate a supplied depth-weighted water-column mean.

When to use this tool

Use Water Column Layer Average when you already have values, layerThicknesses and need to calculate a supplied depth-weighted water-column mean.

How to use the tool and how it works

  1. Enter values, layerThicknesses. Follow any array-alignment requirements below. 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 depthWeightedAverage, totalDepth. Use the output convention below.

Require nonempty aligned arrays, nonnegative thicknesses and a positive finite thickness sum; sum value*(thickness/totalDepth) and return totalDepth.1

Input fieldMeaning and unitsAccepted input
valuesValuesRequired. Array of finite number; maximum items 256.
layerThicknessesNonnegative layer weights aligned with values; zero-thickness layers contribute zero and finite total depth must be positive.Required. Array of finite number; maximum items 256.
Output fieldInterpretationReturned shape
depthWeightedAverageDepth Weighted AverageRequired. Finite number.
totalDepthTotal DepthRequired. Finite number.
json
{
  "input": {
    "values": [
      10,
      20
    ],
    "layerThicknesses": [
      2,
      3
    ]
  },
  "output": {
    "depthWeightedAverage": 16,
    "totalDepth": 5
  }
}

Limitations and assumptions

  • Zero-thickness layers contribute zero. The values must represent comparable layer means; no profile interpolation, uncertainty or observed water-column state is inferred.
  • 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

Review original field and laboratory records with the complete survey or process model. Include calibration, temporal coverage, sampling efficiency and uncertainty when local rates, depth shifts or labels cannot establish the aquatic quantity of interest.

References

  1. Calculation and input contract: aquatic-science/water-column-layer-average — tool.io

Similar or alternative tools