get_output_meta: Helper Function: Get Metadata of Outputs ('A_LEVEL.out',...

View source: R/get_output_meta.R

get_output_metaR Documentation

Helper Function: Get Metadata of Outputs ('A_LEVEL.out', 'T_LEVEL.out')

Description

Helper Function: Get Metadata of Outputs ('A_LEVEL.out', 'T_LEVEL.out')

Usage

get_output_meta(output)

Arguments

output

imported output as retrieved by read_alevel or read_tlevel

Value

returns metainformation list with sublists "general" and "units" of imported 'A_LEVEL.out' or 'T_LEVEL.out' file

Examples

test_file <- function(x) system.file("extdata/model/test", x, package = "kwb.hydrus1d")
alevel <- read_alevel(path = test_file("A_LEVEL.out"))
get_output_meta(alevel)
tlevel <- read_tlevel(path = test_file("T_LEVEL.out"))
get_output_meta(tlevel)

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