nwm_eval.calc_metrics.calc_metrics_group#

nwm_eval.calc_metrics.calc_metrics_group(conf, pair_file, geofile)[source]#

Calculate metrics for a group of paired data.

Return type:

DataFrame

Parameters:
  • conf – A dictionary containing the configuration for metric calculation.

  • pair_file – A Path object pointing to the file containing paired data.

  • geofile – A Path object pointing to the file containing geometry data.

Returns:

A DataFrame containing the calculated metrics for each location and lead group.