The value of nullFragsAreZero
will have a significant impact on the rock fragment fractions returned by fetchNASIS
. Set nullFragsAreZero = FALSE
in those cases where there are many data-gaps and NULL rock fragment values should be interpretated as NULLs. Set nullFragsAreZero = TRUE
in those cases where NULL rock fragment values should be interpreted as 0.
This function attempts to do most of the boilerplate work when extracting site/pedon/horizon or component data from a local NASIS database. Pedons that are missing horizon data, or have errors in their horizonation are excluded from the returned object, however, their IDs are printed on the console. Pedons with combination horizons (e.g. B/C) are erroneously marked as errors due to the way in which they are stored in NASIS as two overlapping horizon records.
See getHzErrorsNASIS
for a simple approach to identifying pedons with problematic horizonation.
See the NASIS component tutorial, and NASIS pedon tutorial for more information.