rwgen.WeatherGenerator.initialise_weather_model
- WeatherGenerator.initialise_weather_model(input_timeseries, point_metadata=None, output_variables='default', season_length='month', wet_threshold=0.2, wind_height=10.0)
Initialise weather model.
- Parameters:
input_timeseries (str) – Path to file containing timeseries data (for point model) or folder containing timeseries data files (for spatial model). Currently compulsory.
point_metadata (pandas.DataFrame or str) – Metadata (or path to metadata file) on point (site/gauge) locations to use for fitting, simulation and/or evaluation for a spatial model only.
output_variables (list or str) – List of output variables. If ‘default’ then the list is [‘pet’, ‘tas’].
season_length (str) – Default is to run the weather model on a monthly basis, with ‘half-month’ under development as an option.
wet_threshold (float) – Threshold used to identify wet days (in mm/day).
wind_height (int or float) – Measurement height for wind speed data (metres above ground).