diff --git a/xclim/sdba/_adjustment.py b/xclim/sdba/_adjustment.py index 73157a031..c3951ab07 100644 --- a/xclim/sdba/_adjustment.py +++ b/xclim/sdba/_adjustment.py @@ -1,3 +1,4 @@ +# pylint: disable=no-value-for-parameter """ Adjustment Algorithms ===================== @@ -136,8 +137,7 @@ def _npdft_train(ref, hist, rots, quantiles, method, extrap, n_escore): ) hist[iv] = u.apply_correction(hist[iv], af, "+") if n_escore > 0: - escores[ii] = ref[0, ref_step + hist_step] - # escores[ii] = nbu._escore(ref[:, ::ref_step], hist[:, ::hist_step]) + escores[ii] = nbu._escore(ref[:, ::ref_step], hist[:, ::hist_step]) hist = rots[-1].T @ hist return af_q, escores