Generates a complete synthetic climate dataset by internally calling all climate simulation modules and merging their outputs into a single dataframe.
simulate_climate(stations, time_index, seed = NULL)A merged dataframe containing all simulated climate variables.
The function currently simulates:
temperature
rainfall
relative humidity
dew point
wind speed
wind direction
solar radiation
evapotranspiration
if (FALSE) { # \dontrun{
stations <- create_stations(
n = 10
)
tindex <- generate_time_index(
start_date = "2020-01-01",
end_date = "2020-12-31",
frequency = "monthly"
)
climate <- simulate_climate(
stations,
tindex
)
head(climate)
} # }