iwfm.calib.sim_equiv

iwfm.calib.sim_equiv(simhyd, date, simhyd_col, round_val=2, verbose=False)[source]

Calculate the simulated value for a given date from a simulated hydrograph.

Parameters:
  • simhyd (numpy array) – simulated values

  • date (datetime) – date for which to find the simulated value

  • simhyd_col (int) – column number in the simulated hydrograph array

  • round_val (int, default=2) – number of decimal places to round the result

  • verbose (bool, default=False) – True = print intermediate calculations

Returns:

sim_head – simulated value for the given date

Return type:

float