Skip to contents

Resolves the evidence grade of every (horizon, attribute) cell that carries a provenance entry. Where a cell has more than one entry (a value re-sourced over the profile's lifetime) the most authoritative source wins, mirroring PedonRecord's own authority order.

Usage

compute_per_attribute_evidence_grade(pedon)

Arguments

pedon

A PedonRecord.

Value

A data.table with columns horizon_idx, attribute and grade, sorted by horizon then attribute. A pedon with no provenance entries yields a zero-row table.

Details

Grades: A measured, B predicted from spectra, C inferred from a spatial prior, D extracted by a vision-language model, E user-assumed.

See also

classify_from_photos, the global evidence grade reported on every ClassificationResult.

Examples

p <- make_ferralsol_canonical()
compute_per_attribute_evidence_grade(p)   # all-measured -> all grade A
#> Empty data.table (0 rows and 3 cols): horizon_idx,attribute,grade