Description Usage Arguments Value Examples
WGEN wrapper
1 2 3 4 5 6 7 |
data |
data frame of original weather data. Requires at least the following columns: "year", "month", "date", "Tmax_C", "Tmin_C", "PPT_cm" |
mean_mult |
scalar to multiply the mean PPT event size by (for adjusting intensity) |
sd_mult |
scalar to multiply the standard deviation of ppt event size by (for adjusting intensity). |
start_date |
Start date of weather simulation |
end_date |
End date of weather simulation |
dataframe with simulated daily temperature and precipitation
1 2 3 4 5 6 7 8 | # these are the minimum required columns
data <- wx_data[, c("year", "month", "date", "Tmax_C", "Tmin_C", "PPT_cm")]
mean_mult = 1
sd_mult = 1
start_date = "1980-01-01"
end_date = "1980-12-31"
WGEN_main(data = data, mean_mult = mean_mult, sd_mult = sd_mult,
start_date = start_date, end_date = end_date)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.