% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/diagnostics-materials-wrb.R
\name{arenic_texture}
\alias{arenic_texture}
\title{Arenic texture (WRB 2022)}
\usage{
arenic_texture(pedon, max_top_cm = 100, engine = NULL)
}
\arguments{
\item{pedon}{A \code{\link{PedonRecord}}.}

\item{max_top_cm}{Maximum top depth (cm) of layers to be tested
(default 100, per WRB 2022).}

\item{engine}{One of \code{"soilkey"} (default; strict WRB sand
threshold via \code{test_coarse_texture_throughout})
or \code{"aqp"} (LUCAS-friendly fallback: passes when sand
>= 70\\% across the upper \code{max_top_cm}). \code{NULL}
reads \code{getOption("soilKey.diagnostic_engine")}.}
}
\value{
A \code{\link{DiagnosticResult}}.
}
\description{
Tests whether the upper 100 cm is uniformly coarser than sandy
loam (i.e., \code{silt + 2 * clay < 30} in every layer).
Diagnostic of Arenosols.
}
\details{
Sub-test: \code{test_coarse_texture_throughout}.

v0.3 limitations: WRB 2022 Arenosol also requires that no other
diagnostic horizon (argic, ferralic, etc.) is present, but those
exclusions happen at the key level via canonical RSG order.
}
\references{
IUSS Working Group WRB (2022), Chapter 5, Arenosols.
}
