FSE weather | R Documentation |
Read or write FSE formatted weather data
readFSEwth(f)
writeFSEwth(w, country='AAA', station=1, lon=0, lat=0, elev=0, path=".")
example_weather()
f |
character. filename |
w |
data.frame with daily weather data. Must include the following variables: "date", "srad", "tmin", "tmax", "wind", "prec", "vapr". The data must be sorted by date in ascending order. "date" must be a |
country |
character code for a country (up to three letters) |
station |
positive integer. Station number for the country |
lon |
numeric. Longitude of the weather station (not used by the models) |
lat |
numeric. Latitude of the weather station |
elev |
numeric. Elevation of the weather station |
path |
character. Folder where you want to write the files. It must exist |
readFSEwth
: data.frame
writeFSEwth
: character (invisibly) with the filenames
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.