You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When processing the data, even with the bottleneck package installed, there is still a Warning when the sequence is empty. is it because bottleneck can't handle the .quantile function and still ends up calling the numpy function?
bottleneck: speeds up NaN-skipping and rolling window aggregations by a large factor
import xarray as xr
import numpy as np
array = np.random.randn(3,5,5)
array[:,2,2]=np.nan
data = xr.DataArray(array,
coords={'time': np.arange(3),
'lon': np.arange(5),
'lat': np.arange(5)}
)
data.quantile(0.95,dim='time', method='median_unbiased')
What is your issue?
When processing the data, even with the bottleneck package installed, there is still a Warning when the sequence is empty. is it because bottleneck can't handle the
.quantile
function and still ends up calling the numpy function?bottleneck: speeds up NaN-skipping and rolling window aggregations by a large factor
The text was updated successfully, but these errors were encountered: