read_csm_outfile: Read in output file from DSSAT CSM

Description Usage Arguments Details Value Note

View source: R/read_csm_outfile.R

Description

Read in output file from DSSAT CSM

Usage

1
read_csm_outfile(rundir, type = "summary", vars)

Arguments

rundir

CSM where model should execute (e.g. Maize)

type

Specify which CSM output file type. Default is "summary"

vars

A vector of specific variables from the file of interest

Details

This is a read.table based variant of read_csm_outfile, designed for reading in DSSAT .OUT files, particularly Summary.OUT files, but theoretically including (although not yet tested on) other, e.g. ET.OUT. The vars variable should be provide the exact variable names of interest. E.g. "EOAC and EOAA" from ET.OUT.

Value

Numeric matrix containing year, day, and specified variables

Note

This is only set up to read in the Summary.OUT file at present


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