windkit.ltc.scores.wasserstein_distance

windkit.ltc.scores.wasserstein_distance(ds_tgt, ds_pred)[source]

Calculates the wasserstein distance for the wind speed of two time series wind climate datasets.

Parameters:

ds_pred (xarray.Dataset) – predicted time series wind climate dataset

Returns:

wasserstein_distance – wasserstein distance of the two wind speeds

Return type:

float