% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/diagnostics-rsg-tier2.R
\name{ferralsol}
\alias{ferralsol}
\title{Ferralsol RSG gate (WRB 2022 Ch 4, p 110)}
\usage{
ferralsol(pedon, strict = NULL)
}
\arguments{
\item{pedon}{A \code{\link{PedonRecord}}.}

\item{strict}{Logical or \code{NULL}. When \code{NULL} (default) it
resolves via \code{getOption("soilKey.rsg_strict", FALSE)}.
\code{TRUE} requires two of the three argic exception paths.}
}
\value{
A \code{\link{DiagnosticResult}} recording whether the diagnostic is present, the qualifying layers, and the supporting evidence.
}
\description{
WRB-canonical: ferralic horizon \\<= 150 cm AND no argic horizon
starting above (or at the upper limit of) the ferralic, UNLESS the
argic in its upper 30 cm or throughout has one or more of:
\itemize{
  \item < 10\% water-dispersible clay; OR
  \item DeltapH (pH_KCl - pH_water) \\>= 0; OR
  \item \\>= 1.4\% soil organic carbon.
}
v0.3.4 enforces all three exception paths. The DeltapH check uses
\code{ph_kcl} and \code{ph_h2o}; the WDC check uses
\code{water_dispersible_clay_pct} (introduced in v0.3.3 schema).
}
\section{Tier-3 strict mode (v0.9.98)}{

When an argic horizon sits above the ferralic, the default gate
keeps the profile as a Ferralsol if \emph{any one} of the three
exception paths (WDC \\< 10\%, DeltapH \\>= 0, SOC \\>= 1.4\%) holds.
With \code{strict = TRUE} the gate requires \emph{at least two} of
the three -- a single weak indicator no longer rescues a profile
with a translocated-clay argic from being keyed out of Ferralsols.
}

