Skip to contents

The mapping respects aqp's expected column conventions and sets the metadata required by getArgillicBounds(), getCambicBounds(), and mollicEpipedon():

Usage

pedon_to_spc(pedon)

Arguments

pedon

A PedonRecord.

Value

A aqp::SoilProfileCollection with one site (the pedon) and one row per horizon.

Details

  • id from pedon$site$id

  • top / bottom from top_cm / bottom_cm

  • name (designation) from designation

  • texcl (texture class) derived via texture_class_from_pct

  • clay, silt, sand from clay_pct / silt_pct / sand_pct

  • m_hue, m_value, m_chroma, d_value, d_chroma from munsell_*_moist and munsell_*_dry

Internal use; the soilKey diagnostics call this on the fly when engine = "aqp". Direct use is supported for users who want to plug additional aqp algorithms (slab, slice, glom) into a soilKey workflow.