Skip to content

Commit

Permalink
deactivate warning for missing output in _escores
Browse files Browse the repository at this point in the history
  • Loading branch information
coxipi committed Apr 24, 2024
1 parent 33b8afd commit 31c1154
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions xclim/sdba/_adjustment.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# pylint: disable=no-value-for-parameter
"""
Adjustment Algorithms
=====================
Expand Down Expand Up @@ -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

Expand Down

0 comments on commit 31c1154

Please sign in to comment.