Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
| **maximum** | 1.0 |
+-----------------+-----------+
| **perfect** | 1.0 |
+-----------------+-----------+
| **orientation** | positive |
+-----------------+-----------+
See also:
* xskillscore.spearman_r
* xskillscore.spearman_r_p_value
* climpred.spearman_r_p_value
* climpred.spearman_r_eff_p_value
"""
weights = metric_kwargs.get('weights', None)
skipna = metric_kwargs.get('skipna', False)
return spearman_r(forecast, verif, dim=dim, weights=weights, skipna=skipna)