% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/diagnostics-horizons-wrb.R
\name{salic}
\alias{salic}
\title{Salic horizon (WRB 2022)}
\usage{
salic(
  pedon,
  min_thickness = 15,
  min_ec_dS_m = 15,
  alkaline_min_ec_dS_m = 8,
  alkaline_min_pH = 8.5,
  min_product = 450,
  alkaline_min_product = 240
)
}
\arguments{
\item{pedon}{A \code{\link{PedonRecord}}.}

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

\item{min_ec_dS_m}{Primary EC threshold (default 15 dS/m at 25C).}

\item{alkaline_min_ec_dS_m}{Alkaline-path EC threshold (default 8
dS/m, used when pH(H2O) \\>= \code{alkaline_min_pH}).}

\item{alkaline_min_pH}{Required pH(H2O) for alkaline path
(default 8.5).}

\item{min_product}{Primary path product (EC * thickness in
dS/m * cm) threshold (default 450 per WRB 2022).}

\item{alkaline_min_product}{Alkaline-path product threshold
(default 240).}
}
\value{
A \code{\link{DiagnosticResult}}.
}
\description{
Tests whether any horizon meets the salic horizon criteria. The
salic horizon is a horizon of soluble-salt accumulation, diagnostic
for Solonchaks.
}
\details{
Sub-tests called:
\itemize{
  \item \code{test_ec_concentration} -- EC \\>= 15 dS/m
        (primary) OR (EC \\>= 8 dS/m AND pH(H2O) \\>= 8.5)
        (alkaline).
  \item \code{test_minimum_thickness} -- thickness \\>= 15 cm.
  \item \code{test_salic_product} -- EC * thickness product
        \\>= 450 (primary) or \\>= 240 (alkaline) per qualifying
        layer.
}

v0.3.1: alkaline-path and product test added (WRB 2022 Ch 3.1.20,
p. 49). Earlier versions only enforced the primary EC + thickness
gate.
}
\references{
IUSS Working Group WRB (2022). \emph{World Reference Base
for Soil Resources}, 4th edition. International Union of Soil Sciences,
Vienna. Chapter 3.1.20 -- Salic horizon (p. 49).
}
