write_wth {DSSAT}R Documentation

Writes data to a single DSSAT weather file

Description

Writes data to a single DSSAT weather file

Usage

write_wth(
  wth,
  file_name,
  force_std_fmt = TRUE,
  location = NULL,
  comments = NULL,
  INSI = NULL,
  LAT = NULL,
  LONG = NULL,
  ELEV = NULL,
  TAV = NULL,
  AMP = NULL,
  REFHT = NULL,
  WNDHT = NULL,
  CO2 = NULL
)

Arguments

wth

a tibble containing the data to write to a DSSAT weather file

file_name

a character vector of length one that contains the name of a single DSSAT file into which 'wth' will be written

force_std_fmt

a logical value indicating whether to override the variable format stored within the 'wth' object with standard DSSAT formatting

location

a character value that gives the location for the weather file header line

comments

a character vector containing any comments to be included in the weather file

INSI

Institute and site code (four-digit character code)

LAT

Latitude in decimal degrees

LONG

Longitude in decimal degrees

ELEV

Elevation in meters

TAV

Long-term average air temperature at reference height (typically 2 meters)

AMP

Long-term monthly air temperature amplitude at reference height (typically 2 meters)

REFHT

reference height for air temperature measurements

WNDHT

reference height for wind speed measurements

CO2

carbon dioxide concentration in parts per million


[Package DSSAT version 0.0.9 Index]