Writes data to a single DSSAT weather file
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
)
a tibble containing the data to write to a DSSAT weather file
a character vector of length one that contains the name of a single DSSAT file into which `wth` will be written
a logical value indicating whether to override the variable format stored within the `wth` object with standard DSSAT formatting
a character value that gives the location for the weather file header line
a character vector containing any comments to be included in the weather file
Institute and site code (four-digit character code)
Latitude in decimal degrees
Longitude in decimal degrees
Elevation in meters
Long-term average air temperature at reference height (typically 2 meters)
Long-term monthly air temperature amplitude at reference height (typically 2 meters)
reference height for air temperature measurements
reference height for wind speed measurements
carbon dioxide concentration in parts per million