Commit 40e198f
committed
fix(denoise): use method= instead of skipna=True for quantile (numpy 2.x compat)
The xarray .quantile(skipna=True) path calls np.nanquantile() with the
deprecated 'interpolation' kwarg, which was removed in numpy 2.x.
Switch to method='linear' without skipna to avoid the error.1 parent 66d85ce commit 40e198f
1 file changed
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
190 | 190 | | |
191 | 191 | | |
192 | 192 | | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
193 | 196 | | |
194 | | - | |
| 197 | + | |
195 | 198 | | |
196 | 199 | | |
197 | 200 | | |
| |||
0 commit comments