_ ..calval.ww3WaveStats:

ocmw.calval.ww3WavesStats module

Tools for post-processing the validation statistics generated by the ww3WavesValidation module.

get_metric_stats_global

Calculate global average and std.

get_parameter_stats_global

Calculate global average and std.

get_metric_stats_by_year

Calculate annual and monthly global average and std.

get_parameter_stats_by_year

Calculate annual and monthly global average and std.

get_metric_stats_by_buoy

Calculate validation metric stats (min,max, average and std.

get_parameter_stats_by_buoy

Calculate wave parameter validation metric stats (min,max, average and std.

test_for_failure

Determine whether a the metric for a parameter validation passes a threshold for success.

get_buoy_locations

Extract buoy location data from database records.

Functions for post-processing the wave validation statistics.

ocmw.calval.ww3WavesStats.get_metric_stats_global(dpath, files, metric: str)[source]

Calculate global average and std. dev. for a metric from all validation points across the model domain.

ocmw.calval.ww3WavesStats.get_parameter_stats_global(dpath: str, param: str, metricStr: list)[source]

Calculate global average and std. dev. for all metrics from all validation points across the model domain.

ocmw.calval.ww3WavesStats.get_metric_stats_by_year(dpath, files, metric: str, yr: int)[source]

Calculate annual and monthly global average and std. dev. for a metric from all validation points across the model domain.

ocmw.calval.ww3WavesStats.get_parameter_stats_by_year(dpath: str, param: str, metricStr: list, year: int)[source]

Calculate annual and monthly global average and std. dev. for all metrics from all validation points across the model domain.

ocmw.calval.ww3WavesStats.get_metric_stats_by_buoy(dpath, files, metric: str)[source]

Calculate validation metric stats (min,max, average and std. dev.) by buoy.

ocmw.calval.ww3WavesStats.get_parameter_stats_by_buoy(dpath: str, param: str, metric: str)[source]

Calculate wave parameter validation metric stats (min,max, average and std. dev.) by buoy.

ocmw.calval.ww3WavesStats.test_for_failure(meanV, metric: str)[source]

Determine whether a the metric for a parameter validation passes a threshold for success.

ocmw.calval.ww3WavesStats.get_buoy_locations(records)[source]

Extract buoy location data from database records.