iwfm.diagnostics.detect_stream_gw_anomalies

iwfm.diagnostics.detect_stream_gw_anomalies(stream_summary, z_threshold=3.0)[source]

Extract anomalous stream nodes from StreamSummary.

Parameters:
  • stream_summary (StreamSummary) – From read_stream_hdf.

  • z_threshold (float) – Minimum z-score to include in results.

Returns:

[{node_id, mean_strmgw, std_strmgw, z_score, flag}]

Return type:

list of dict