% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/diagnostics-rsg-tier2.R
\name{gleysol}
\alias{gleysol}
\title{Gleysol RSG gate (WRB 2022 Ch 4, p 103)}
\usage{
gleysol(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} tightens path 1 and disables path 3.}
}
\value{
A \code{\link{DiagnosticResult}} recording whether the diagnostic is present, the qualifying layers, and the supporting evidence.
}
\description{
WRB-canonical (multi-path):
\enumerate{
  \item Layer \\>= 25 cm starting \\<= 40 cm with gleyic properties
        throughout AND reducing conditions in some parts of every
        sublayer; OR
  \item Mollic/umbric > 40 cm thick with reducing conditions some
        parts of every sublayer 40 cm below mineral surface to lower
        limit, AND directly underneath a layer \\>= 10 cm with lower
        limit \\>= 65 cm having gleyic properties + reducing
        conditions; OR
  \item Permanent saturation by water \\<= 40 cm.
}
v0.3.4 enforces path 1 (the dominant path) and path 3 via designation
(W / saturated marker). Path 2 is deferred (requires a depth-of-
saturation column that's not standard).
}
\section{Tier-3 strict mode (v0.9.98)}{

With \code{strict = TRUE} the path-1 gleyic+reducing layer must start
within the upper 25 cm (instead of 40 cm), and the path-3
designation-only fallback (a \dQuote{W} / aquic marker) is disabled:
strict mode requires measured gleyic and reducing evidence.
}

