nwm_metrics.event_metric_functions.validate_events#

nwm_metrics.event_metric_functions.validate_events(events)[source]#

Validate event chronology and non-overlap.

Return type:

bool

Parameters:

events – DataFrame containing event start and end times with columns “start” and “end”.

Returns:

True if events are valid, False otherwise.

Return type:

bool