Resolve explicit oxygen-threshold zone boundaries
oxygen_boundary.RdResolve an explicit oxygen-threshold zone and its observed boundaries without introducing a universal OMZ or ODZ threshold.
Usage
oxygen_boundary(
x,
threshold,
threshold_unit = NULL,
variable = NULL,
support = c("local", "all")
)Arguments
- x
A direct source-profile
<ocean_cube>with one eligible preserved CF oxygen concentration variable.- threshold
Required finite non-negative numeric scalar.
- threshold_unit
Optional bounded oxygen unit from the source physical quantity family.
NULLmeans the exact source unit.- variable
Optional exact eligible current oxygen variable name.
- support
Connectivity policy.
"local"breaks components at explicit gaps;"all"retains gapped evidence without an exact crossing.
Value
A base data.frame with one row per longitude, latitude, and time,
describing the core-containing threshold component, boundary evidence,
Provenance V1, and bounded QA.
Details
Oxygen identity comes only from supported preserved CF standard_name
and compatible units. Point crossings may be exact or locally linearly
interpolated inside contiguous brackets. Cell means and gapped brackets return
bracket-only evidence. Open edges are not extrapolated; exact thickness is
reported only for two exact or locally interpolated point boundaries.