check_format_soil_data: Format soil data for Soil Water Balance Modelling

Description Usage Arguments

View source: R/check_format_soil_data.R

Description

This function takes soil FC and PWP (measured or estimated for each layer) as an input, checks the values and returns the corresponding values at a 1cm layer-depth resolution (assuming valeus are homogenous within a measured layer)

Usage

1
2
3
4
5
6
check_format_soil_data(
  soil_data,
  layer_col = "layer_depth",
  FC_col = "ThetaFC",
  PWP_col = "ThetaPWP"
)

Arguments

soil_data

data.frame, containing one-line-per-layer PWP and FC

layer_col

character, the name of the column containing TDR measurement depths

FC_col

character, the name of the column containing FC

PWP_col

character, the name of the column containing PWP


EcoFoG/SWBM documentation built on Feb. 22, 2022, 1:12 a.m.