Plot hydrological signatures.
Plots include daily, monthly and annual hydrograph as well as regime curve (monthly mean) and flow duration curve.
Generae a structured data for plotting hydrologic signatures.
- pygeohydro.plot.signatures(discharge, precipitation=None, title=None, figsize=None, output=None, close=False)#
Plot hydrological signatures with w/ or w/o precipitation.
Plots includes daily hydrograph, regime curve (mean monthly) and flow duration curve. The input discharges are converted from cms to mm/day based on the watershed area, if provided.
pd.Series) – The streamflows in mm/day. The column names are used as labels on the plot and the column values should be daily streamflow.
pd.Series, optional) – Daily precipitation time series in mm/day. If given, the data is plotted on the second x-axis at the top.
str, optional) – The plot supertitle.
tuple, optional) – The figure size in inches, defaults to (9, 5).
str, optional) – Path to save the plot as png, defaults to
Nonewhich means the plot is not saved to a file.
bool, optional) – Whether to close the figure.