Timeseries#

class hydromodpy.modeling.timeseries.Timeseries(geographic: object, model_modflow: object, model_modpath: int = None, model_mt3dms: int = None, suffix_name: int = None, datetime_format: bool = True, subbasin_results: bool = True, intermittency_yearly: bool = False, intermittency_monthly: bool = False, intermittency_weekly: bool = False, intermittency_daily: bool = False, residence_times: bool = False, concentration_seepage: bool = False, mass_accumulated: bool = False)[source]#

Bases: object

Extract timeseries results from rasters and shapefiles created.

Parameters#

geographicobject

Variable object of the model domain (watershed).

model_modflowobject

MODFLOW model object.

model_modpathobject

MODPATH model object.

datetime_formatbool, optional

Indicate if the model is referenced with datetime format. The default is True.

subbasin_resultsbool, optional

Indicated if simulation results need to be created at subassins scale. The default is True.

intermittency_monthlybool

If True, the intermittent and perennial part of hydrographic network is calculated on a monthly basis.

intermittency_weeklybool

If True, the intermittent and perennial part of hydrographic network is calculated on a weekly basis.

intermittency_dailybool

If True, the intermittent and perennial part of hydrographic network is calculated on a daily basis.

extract_results(dem_clip, time, recharge, runoff, timeseries_file)[source]#

Calculate catchment-scale values and save them in a data frame (.csv)..

Parameters#

dem_clip2D matrix

Masked raster data of the model domain (watershed).

timeDatetimeIndex or list

Index for time.

rechargeSeries or list

Values of recharge input.

timeseries_filestr

Path folder to save .csv file results.