read_alevel: Read A_LEVEL.out

View source: R/read_alevel.R

read_alevelR Documentation

Read A_LEVEL.out

Description

A-level information is printed each time a time-dependent boundary condition is specified. The information is directed to output file A_LEVEL.OUT.

Usage

read_alevel(path, dbg = FALSE)

Arguments

path

full path to A_LEVEL.out file

dbg

show debug messages (default: FALSE)

Value

imports A_LEVEL out with tidy column names and saves metainformation in attributes 'meta_general' and 'meta_units'

time

Time, t, at current time-level [T]

sum_r_top

Cumulative potential surface flux [L] (infiltration/evaporation: -/+)

sum_r_root

Cumulative potential transpiration [L]

sum_v_top

Cumulative value of the actual surface flux [L] (infiltration/evaporation: -/+) [-]

sum_v_root

Cumulative value of the actual transpiration [L]

sum_v_bot

Cumulative value of the bottom boundary flux [L] (inflow/outflow: +/-)

h_top

Pressure head at the soil surface [L]

h_root

Mean value of the pressure head in the soil root zone for which Beta(n)>0 [L]

h_bot

Pressure head at the bottom of the soil profile [L]

a_level

A-level number (current variable boundary condition number) [-]

References

https://www.pc-progress.com/Downloads/Pgm_Hydrus1D/HYDRUS1D-4.17.pdf#page=277

Examples

path_alevel <- system.file("extdata/model/test/A_LEVEL.out", package = "kwb.hydrus1d")
alevel <- read_alevel(path = path_alevel)
alevel

KWB-R/kwb.hydrus1d documentation built on Nov. 21, 2022, 4:54 a.m.