DSSAT0.0.9 package

A Comprehensive R Interface for the DSSAT Cropping Systems Model

read_pest

Reads input data from a single DSSAT pest file (*.PST)

read_soil_profile

Reads a single DSSAT formatted soil profile from a raw character vecto...

read_sol

Reads soil parameters from a single DSSAT soil parameter file (*.SOL)

read_tier

Reads and combines data and header information from a single tier of a...

read_tier_data

Reads data from a single tier of a DSSAT output file

read_wth

Reads weather input data from a single DSSAT weather file (*.WTH)

add_col_widths

Adds width as a attribute to each column from a list of tibbles

add_v_fmt

Adds variable format information to a tibble

as_DSSAT_tbl

Convert tibble to DSSAT_tbl

calc_AMP

Calculate long-term temperature amplitude (AMP)

calc_TAV

Calculate long-term temperature average (TAV)

clear_output

Clear output files

combine_tiers

Efficiently combine data from two data tiers into one

convert_to_date

Converts a column to POSIXct

header_to_fwf_position

Converts header line into a vector of column names

mutate_cond

Convenience function that allows mutating a subset of rows

name_to_regex

Convert column names to a regex

process_dssat_output_header

Extracts run number, model code, experiment code, treatment number and...

read_casupro_eco

Reads parameters from a single DSSAT CASUPRO ecotype parameter file (*...

read_cul

Reads parameters from a single DSSAT cultivar parameter file (*.CUL)

read_dssat

Reads data from a single DSSAT file

read_dssbatch

Reads data from a single DSSAT batch file

read_eco

Reads parameters from a single DSSAT ecotype parameter file (*.ECO)

read_filea

Reads data from a single DSSAT file A

read_filet

Reads time series data from a single DSSAT file T

read_filex

Reads input data from a single DSSAT experiment file (*.*X)

read_filex_multiple

Read multiple File X

read_output

Reads data from a single DSSAT output file

run_dssat

Writes data from a single DSSAT data tier

splice_in_col_name

Splice column name into vector of column names

write_casupro_eco

Writes parameters to a single DSSAT CASUPRO ecotype parameter file (*....

write_cul

Reads parameters from a single DSSAT cultivar parameter file (*.CUL)

write_dssbatch.data.frame

tbl_df method for write_dssbatch()

write_dssbatch.default

Default method for write_dssbatch()

write_dssbatch

Constructs and writes a DSSAT simulation batch file

write_dssbatch.tbl_df

tbl_df method for write_dssbatch()

write_eco

Reads parameters from a single DSSAT ecotype parameter file (*.ECO)

write_filea

Writes data to a single DSSAT file A

write_filet

Writes data to a single DSSAT file T

write_filex

Writes data to a single DSSAT FileX

write_sol

Writes soil parameters to a single DSSAT soil parameter file (*.SOL)

write_tier

Writes data from a single DSSAT data tier

write_wth

Writes data to a single DSSAT weather file

The purpose of this package is to provide a comprehensive R interface to the Decision Support System for Agrotechnology Transfer Cropping Systems Model (DSSAT-CSM; see <https://dssat.net> for more information). The package provides cross-platform functions to read and write input files, run DSSAT-CSM, and read output files.

  • Maintainer: Phillip D. Alderman
  • License: GPL (>= 3)
  • Last published: 2024-02-19