Skip to content
Permalink
Browse files

pedons that only made the furrow-slice dark surface and had argillic …

…horizon had incorrect epipedon bottom depth (top of argillic instead of bottom of mixing depth)
  • Loading branch information
brownag committed Aug 14, 2017
1 parent 4b08f3f commit d7a785732c0407270b81e301c1cb04725e6dad60
Showing with 4 additions and 0 deletions.
  1. +4 −0 PedonSummaryFunctions/pedon_summary_functions.R
@@ -435,6 +435,10 @@ hasDarkMineralSurface <- function(p, bounds=FALSE, val_dry=5, val_moist=3, chr_m
if(argillic_ubound != -Inf) {
if(dark_lbound > argillic_ubound)
dark_lbound <- argillic_ubound
if(mixed_dark_surface) {
#BUT if we made it by weighted averaging, use depth we averaged over
dark_lbound <- diag_depth
}
}

if(dark_lbound > soil_depth)

0 comments on commit d7a7857

Please sign in to comment.
You can’t perform that action at this time.