Reimplement `xr.quantile` once `xarray` v0.15.1 is released and equally fast
See original GitHub issuePer discussions in https://github.com/bradyrx/climpred/pull/285. @aaronspring switched over to a map_blocks
wrapper of xr.quantile
since pre v0.15 xarray
versions do not allow dask objects for quantile.
xarray
v0.15 will have dask-compatible xr.quantile
(http://xarray.pydata.org/en/latest/whats-new.html) so this should be switched out once that is released.
Issue Analytics
- State:
- Created 4 years ago
- Comments:8
Top Results From Across the Web
What's New - Xarray
Explicitly opening a file multiple times (e.g., after modifying it on disk) now reopens the file from scratch for h5netcdf and scipy netCDF...
Read more >Reading and writing files - Xarray
When writing multiple groups in one file, pass mode='a' to to_netcdf to ensure that each call does not delete the file. Data is...
Read more >xarray.DataArray.quantile
Compute the qth quantile of the data along the specified dimension. Returns the qth quantiles(s) of the array elements. Parameters.
Read more >API reference - Xarray
Explicitly broadcast any number of DataArray or Dataset objects against one another. concat (objs, dim[, data_vars, coords, ...]) Concatenate xarray objects ...
Read more >What's New — xarray 0.11.3 documentation
This is the last major release that will support Python 2.7. ... or Dataset is now much faster if the MultiIndex has not...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Ah yes the nanfunctions are slow. We should add a
skipna
kwarg just as for our other reductions. Can you open an xarray issue please?implemented in xarray. wait for 0.15.1
https://github.com/pydata/xarray/pull/3844