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 )
wth
: a tibble containing the data to write to a DSSAT weather filefile_name
: a character vector of length one that contains the name of a single DSSAT file into which wth
will be writtenforce_std_fmt
: a logical value indicating whether to override the variable format stored within the wth
object with standard DSSAT formattinglocation
: a character value that gives the location for the weather file header linecomments
: a character vector containing any comments to be included in the weather fileINSI
: Institute and site code (four-digit character code)LAT
: Latitude in decimal degreesLONG
: Longitude in decimal degreesELEV
: Elevation in metersTAV
: 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 measurementsWNDHT
: reference height for wind speed measurementsCO2
: carbon dioxide concentration in parts per millionUseful links