read_csm_outfile2: Read in output file from DSSAT CSM

Description Usage Arguments Details Value

View source: R/read_csm_outfile2.R

Description

Read in output file from DSSAT CSM

Usage

1
read_csm_outfile2(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 an experimental readChar 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

data.table containing year, day, and specified variables


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