% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/diagnostics-horizons-wrb.R
\name{gypsic}
\alias{gypsic}
\title{Gypsic horizon (WRB 2022)}
\usage{
gypsic(pedon, min_thickness = 15, min_gypsum_pct = 5)
}
\arguments{
\item{pedon}{A \code{\link{PedonRecord}}.}

\item{min_thickness}{Minimum thickness in cm (default 15).}

\item{min_gypsum_pct}{Minimum gypsum percent in fine earth (default 5).}
}
\value{
A \code{\link{DiagnosticResult}}.
}
\description{
Tests whether any horizon meets the gypsic horizon criteria. The
gypsic horizon is a horizon of secondary gypsum accumulation,
diagnostic for Gypsisols.
}
\details{
Sub-tests called:
\itemize{
  \item \code{\link{test_caso4_concentration}} -- gypsum >= 5\%.
  \item \code{\link{test_minimum_thickness}} -- thickness >= 15 cm.
}

v0.2 limitations: the WRB rule that gypsum content must exceed the
underlying horizon by 1\% (absolute) is not enforced. Petrogypsic
(cemented) horizons are not yet detected. Both deferred to v0.3.
}
\references{
IUSS Working Group WRB (2022). \emph{World Reference Base
for Soil Resources}, 4th edition. International Union of Soil Sciences,
Vienna. Chapter 3 -- Gypsic horizon.
}
