wrfhydropy.Evaluation.gof

Evaluation.gof(mod_col: str = 'modeled', obs_col: str = 'observed', group_by: list | str | None = None, inf_as_na: bool = True, decimals: int = 2)[source]

Calculate goodness of fit statistics using the spotpy package. See :py:fun:`calculate_all_functions() <calculate_all_functions>` in spotpy. :Parameters: * mod_col – Column name of modelled data

  • obs_col – Column name of observed data

  • group_by – Column names to group by prior to calculating statistics

  • inf_as_na – convert inf values to na?

  • decimals – round stats to specified decimal places

Returns:

Pandas dataframe containing contingency table