Skip to content

Commit

Permalink
notes
Browse files Browse the repository at this point in the history
  • Loading branch information
dylanbeaudette committed Oct 26, 2023
1 parent a14beaa commit 2eaf23e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion R/profileInformationIndex.R
Original file line number Diff line number Diff line change
Expand Up @@ -316,12 +316,14 @@ profileInformationIndex <- function(x, vars, method = c('joint', 'individual'),
}
}

## TODO: this will error / drop profiles in the presence of bad horizonation

# dice() to 1cm intervals for common baseline
# -> 10 horizons of the same data NOT more informative than 1 horizon
# -> causes data corruption when bad hz depths present (lots of messages)
x <- dice(x, fill = padNA)

## TODO: think about how to make this more efficient when n > 1000
## TODO: convert to data.table

# iterate over profiles
# result is a vector suitable for site-level attribute
Expand Down

0 comments on commit 2eaf23e

Please sign in to comment.