InputFormat
- class rameau.core.inputs.InputFormat(meteo_files=False, starting_date=datetime.datetime(1900, 1, 1, 0, 0), time_step=datetime.timedelta(days=1))[source]
Input format.
- Parameters:
meteo_files (
bool, optional) – Switch the text file format of the meteo input data. If true, a given meteorological input data (e.g. rainfall) is separated into multiple data text files. If false, the data are in the same CSV file. Default is False.starting_date (
datetime.datetime, optional) – Starting date of the input data text files. Only used if the text files do not provide dates in the first column. This parameter sets the date of the first data record (first row of the file). Default is 1900-01-01.time_step (
datetime.timedelta, optional) – Frequency of the input data text files. Only used if the text files do not provide dates in the first column. Associated to thestarting_dateparameter, it allows to set the dates of all the rows of the input files. Default is one day.
- Returns:
Attributes
Switch the text file format of the meteo input data.
Time step of the input data text files.