Skip to contents

Tests whether any horizon meets the cambic horizon criteria. The cambic horizon is a subsurface horizon with evidence of pedological alteration that does not meet the criteria for any stronger diagnostic horizon. It is the diagnostic of Cambisols.

Usage

cambic(pedon, min_thickness = 15, min_top_cm = 5, engine = NULL)

Arguments

pedon

A PedonRecord.

min_thickness

Minimum thickness in cm (default 15).

min_top_cm

Minimum top depth (cm) for a horizon to be considered cambic-eligible (default 5). Anchors the candidate set to subsurface layers.

engine

v0.9.63+. One of "soilkey" (hand-coded path, default for back-compat) or "aqp" (canonical NRCS dispatch via aqp::getCambicBounds). When NULL (the new default) the function reads getOption("soilKey.diagnostic_engine", "soilkey"), so a global options(soilKey.diagnostic_engine = "aqp") flips every cambic() call without modifying call sites. The aqp engine fired 40.6 soilkey 0 v0.9.50 LUCAS WRB benchmark from 0 100 cambic_aqp.

Value

A DiagnosticResult.

Details

v0.2 implementation tests three conditions:

v0.2 limitations: WRB 2022 also excludes profiles with spodic, calcic, gypsic, plinthic, vertic, and several other diagnostic horizons. Those exclusions, plus the WRB criteria of "evidence of alteration" (color/structure differences from parent material, carbonate removal), are scheduled for v0.3.

References

IUSS Working Group WRB (2022), Chapter 3, Cambic horizon.