Helper function: get units list from meta general
Examples
path_tlevel <- system.file("extdata/model/test/T_LEVEL.out", package = "kwb.hydrus1d")
content <- readLines(path_tlevel)
content_general <- content[3:5]
cat(content_general)
#> Flextreat Hydraulic Model Date: 30. 6.2022 Time: 12:49:10 Units: L = cm , T = days , M = mmol
meta_general <- read_meta_general(content_general)
get_units_list(meta_general)
#> $L
#> [1] "cm"
#>
#> $T
#> [1] "days"
#>
#> $M
#> [1] "mmol"
#>