iwfm.simhyds

class iwfm.simhyds(filename)[source]

Simulated hydrograph values read from an IWFM hydrograph output file.

__init__(filename)[source]

Read an IWFM hydrograph output file into sim_vals and sim_dates.

Parameters:

filename (str) – IWFM hydrograph output file name

Methods

__init__(filename)

Read an IWFM hydrograph output file into sim_vals and sim_dates.

date(row)

Return the date for the given row.

end_date()

Return the last simulated date, or None if no data was read.

get_head(row, col)

Return the simulated value at the given row and column.

ncols()

Return the number of data columns, or 0 if no data was read.

nlines()

Return the number of simulated time steps.

sim_head(date, col)

Get interpolated head value at a specific date.

start_date()

Return the first simulated date, or None if no data was read.