rwgen.WeatherModel.simulate
- WeatherModel.simulate(rainfall, n_timesteps, year, month, discretisation_metadata, output_types, timestep)
Simulate weather and potential evapotranspiration variables for one month.
- Parameters:
rainfall (numpy.ndarray or list of numpy.ndarray) – Rainfall/precipitation values in mm/timestep.
n_timesteps (int) – Number of timesteps in month (matching rainfall model timestep).
year (int) – Calendar year.
month (int) – Calendar month to simulate (1-12).
discretisation_metadata (dict) – Metadata of locations for which output is required. See RainfallModel.
output_types (str or list of str) – Types of output (discretised) rainfall required. Options are
'point'
,'catchment'
and'grid'
.timestep (int) – Timestep for weather model output in hours.