InputCollection

class rameau.core.inputs.InputCollection(rainfall, pet, snow=None, temperature=None, riverobs=None, riverpumping=None, groundwaterobs=None, groundwaterpumping=None, groundwaterinfluences=[], dates=None)[source]

Collection of Input representing either meteorological, observations, or pumping data time series for a given set of watersheds.

Data are passed to the constructor by keyword arguments whose names refer to the data types to store (e.g. rainfall, riverflow observations, etc.). Keyword arguments accept Input, numpy.ndarray or pandas.DataFrame. In the case of numpy.ndarray or pandas.DataFrame, data is converted into Input in the constructor.

If a pandas.DataFrame with a pandas.DatetimeIndex as index is passed, this index is used to set the input dates.

Parameters:
Returns:

InputCollection

Notes

The consistency between each input (i.e. shapes of dates and data) is checked when setting the collection of inputs to the Model either through the constructor or by attribute assignment.

Methods

from_files(rainfall, pet[, temperature, ...])

Create InputCollection from CSV files.

Attributes

file_paths

Input data file paths

groundwaterinfluences

Groundwater influence time series (m3/s)

groundwaterobs

Observed groundwater level time series (m)

groundwaterpumping

Groundwater pumping time series (m3/s)

input_format

Input data file format.

pet

PET time series (mm).

rainfall

Rainfall time series (mm).

riverobs

Observed river flow time series (m3/s)

riverpumping

River pumping time series (m3/s)

snow

Snow time series (mm)

temperature

Temperature time series (°C)