read_sol_hor: Read iprofile data from DSSAT .SOL file

Description Usage Arguments Details Value Examples

View source: R/read_sol_hor.R

Description

This reads in horizon depths and water-holding variables from a DSSAT .SOL file, for use in initializing the experimental files

Usage

1
read_sol_hor(solfile, profiles)

Arguments

solfile

Name of .SOL file to read in

profiles

Vector of profile name to read in (must be exact)

Details

This function is stripped-down version of read_sol_prof, intended to pull out just the Horizon depths, drained upper and lower limits, so that these data can be used to initialize starting soil moisture conditions in DSSAT x files. Complete profiles can be read using read_sol_prof.

Value

List of soil parameters of interest

Examples

1
2
f <- "~/DSSAT45/SOIL/WI.SOL"  # .SOL file (WISE)
read_sol_hor(solfile = f, profiles = "WI_ACLS021") 

ldemaz/rcropmod documentation built on Feb. 29, 2020, 10:17 p.m.