-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Point comparisons of NASIS/KSSL v.s. SoilGrids using field/standard depth aggregation and mpspline'd data #140
Comments
Some notes for later Figure out a faster way to test this, or at least make the test conditional.
Add argument to re-scale soil properties to common scales. lwr <- transform(lwr,
id = sprintf("%s-lwr", id),
bdod = bdod / 100,
cec = cec / 10,
cfvo = cfvo / 10,
clay = clay / 10,
phh2o = phh2o / 10,
sand = sand / 10,
silt = silt / 10,
soc = soc / 10
) Consider argument to return a soil profile to describe each part of the expected variation (lower / upper or Q05 / Q95) and central tendency (mean or Q50). This would result in a 3-member |
The test is skipped if not "in house" but uses the same code as example that ran nearly 40s. I don't think that we can make a reasonable test [or example] more than one point any faster. I always check with Thanks for adding the
This is a good idea. Implemented in 497d5cc
I think this needs more thought, but is a good idea in principle. My instinct here is that we should maintain the 1:1 relationship between query points and profiles for Here is an issue I created in aqp; I will prototype the method I described. ncss-tech/aqp#164 I don't think that the multi-profile view is typically a useful for quantiative/statistical analysis -- but rather for visualization. Is this something exclusively for making side-by-side profile plots with a common scale? Or are there other more quantitative applications? Similar types of "denormalization" could be done to view SSURGO/NASIS component data -- and really any sort of soil data in an SPC where ranges are depicted with multiple properties -- but interpretation of observational units or block support becomes murky. |
It seems that the SoilGrids example and or test has the possibility of failure (actual errors, not just taking a long time). Sometimes the connection gets reset for unknown reasons causing random builds to fail (e.g. 3 out of 4 architectures will pass, one fails with SSL error) |
This might be worth re-opening as a discussion or vignette. But there is no soilDB issue remaining here. |
I finalized several methods discussed over the past couple months and put them into {aqp} and {soilDB} that allow for this comparison.
This implementation needs to be expanded to support multi-attribute splining.
I responded to a TSS request recently that was dealing with SoilGrids data -- which was the basis for the new
soilDB::fetchSoilGrids
. A while back, I developed a method for shoehorningmpspline2::mpspline
1cm interpolation output into a SoilProfileCollection object with similar attributes to its parent object (implemented now asaqp::spc2mpspline
.https://gist.github.com/brownag/d69b899253eef505e1771e7adbef37ad
The text was updated successfully, but these errors were encountered: