read_dssbatch {DSSAT} | R Documentation |
Reads data from a single DSSAT batch file
read_dssbatch(file_name = "DSSBatch.V47")
file_name |
a character vector of length one that contains the name of a single DSSAT batch file |
a tibble containing the data from the DSSAT batch file
# Create example batch file path
batch_file_path <- paste0(tempdir(),'/DSSBatch.V47')
# Write example batch file
write_dssbatch(x='UFGA0601.BMX',trtno=1:4,file_name = batch_file_path)
# Read example batch file
dssbatch <- read_dssbatch(batch_file_path)