powered by
Simulate monthly Tmin, Tmax, monthly total rainfall (Sum.Rf) and mean daily rainfall (Avg.Rf) for each station across a year range.
simulate_climate_series( stations, start_year = 1981, end_year = 2020, seed = NULL )
A tidy data.frame with one row per station × month containing: Station, LON, LAT, Year, Month, Date, Avg.Tn, Avg.Tx, Sum.Rf, Avg.Rf
data.frame from create_stations() (Station, LON, LAT)
integer (e.g., 1981)
integer (e.g., 2020)
optional numeric seed
This function simulates synthetic time-series climate data based on...
write_station_csv(), write_station_netcdf()
write_station_csv()
write_station_netcdf()
st <- create_stations(n = 3, seed = 1) sim <- simulate_climate_series(st, 1981, 1982, seed = 42) head(sim)
Run the code above in your browser using DataLab