write.cabo: Write CABO weather files

Description Usage Arguments

View source: R/write.R

Description

write.cabo prints weather files as used by WOFOST e.g. from MARS AGRI4CAST data (http://agri4cast.jrc.ec.europa.eu/DataPortal/Default.aspx) being composed of one file per year.

Usage

1
2
write.cabo(data, country, station, stationno, lat, lon, alt, a, b,
  citation = NA, author = Sys.getenv("USERNAME"), desc = NA, file)

Arguments

data

E.g. a MARS AGRI4CAST weather data.frame containing at least the following columns: LATITUDE, LONGITUDE, ALTITUDE, DAY, TEMPERATURE_MAX, TEMPERATURE_MIN, PRECIPITATION, RADIATION; ET0 is optional

country

The country where the weather station is located

station

The name of the weather station

stationno

The number of the weather station

lat

The latitude of the weather station

lon

The longitude of the weather station

alt

The altitude/elevation of the weather station

a, b

Ångström coefficients

citation

Reference information on the data set (optional)

author

The author of the data set

desc

A short description of the respective data set

file

The path/file where the CABO output files should be written to


zsteinmetz/wofostats documentation built on Jan. 22, 2021, 8:55 p.m.