read_sol_prof: Read in profile data from DSSAT .SOL file

Description Usage Arguments Details Value Examples

View source: R/read_sol_prof.R

Description

This reads most horizon data from an existing DSSAT soil file, so that the parameters can be used in experimental files or for analysis

Usage

1
read_sol_prof(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 currently pulls nearly all the horizon data from a DSSAT .sol profile. It is a fuller version of read_SOL_prof

Value

List of soil parameters of interest

Examples

1
2
3
f <- "~/DSSAT45/SOIL/WI.SOL"  # .SOL file (WISE)
sprofs <- read_sol_prof(solfile = f, profiles = "WI_ACLS021")
sprofs[, c(1:7, 11:16), with = FALSE]

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