% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/qualifiers-wrb2022-v0963.R
\name{.q_within_depth}
\alias{.q_within_depth}
\title{Test "X within depth d cm" given an existing diagnostic}
\usage{
.q_within_depth(name, base_diag, pedon, top_cm, bottom_cm)
}
\description{
Many WRB sub-qualifiers (Endo-, Bathy-, Hyper-, Pano-, Ortho-,
Ano-, etc.) are depth-bounded modifiers of an existing principal
qualifier or diagnostic horizon. This helper tests whether the
base diagnostic fires AND has any of its passing layers in the
given depth window.
}
\keyword{internal}
