fnc_soil_bze: Soil-list creation from BZE data

View source: R/fnc_soil_bze.R

fnc_soil_bzeR Documentation

Soil-list creation from BZE data

Description

This function is a wrapper of several smaller functions and chunks of code, all retrieved from "U:\Brook90_2018\paul_schmidt_walter_2018\Dokumentation\2_Bodenparameter.nb". Combining all this code into one function, it takes a spatialpointsdataframe of coordinates in GK-3 and returns a list of soil data frames. Those are further processed in fnc_get_soil by adding soil hydraulic information, humus, and fine roots and can then be read by run_multisite_LWFB90.

Usage

fnc_soil_bze(
  df.ids,
  meta.out,
  limit_bodtief = NA,
  incl_GEOLA,
  buffering = F,
  buff_width = NA
)

Arguments

df.ids

a dataframe with ID_customs, IDs, aspect, slope, easting and northing, as created one function up by fnc_get_soil May contain further columns

meta.out

a string containing a path passed down from fnc_get_soil. Saving location of metadata.

limit_bodtief

max soil depth, default is NA and uses max soil depth as defined in df.LEIT. If not NA soil-dfs are created down to the depth specified here as depth in m, negative. Might be used to give room for different maxrootdepth - settings in fnc_get_params. In this case, soil depth may be reduced significantly.

...

whether buffer should be used in extracting points from BZE raster files if NAs occur, options are buffering as TRUE or FALSE, and buff_width in m

Value

Returns a list of soil data frames.


rhabel/modLWFB90 documentation built on Nov. 21, 2024, 3:28 a.m.