-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
rolling(...).construct(...)
blows up chunk size
#9550
Comments
Thanks for opening your first issue here at xarray! Be sure to follow the issue template! |
This is using the We actually use this approach for I'm not sure what the right solution here is.
PS: I chatted with @phofl about this at FOSS4G. He has some context. |
Yeah this is definitely on my todo list and @hendrikmakait and I chatted briefly about this today, there is definitely something we have to do |
I support the approach, but it'd be good to see the impact on |
I also wonder if instead of using |
Yes, #3937, but we've struggled to move on that.
|
What happened?
When using `rolling(...).construct(...) in coiled/benchmarks#1552, I noticed that my Dask workers died running out of memory because the chunk sizes get blown up.
What did you expect to happen?
Naively, I would expect
rolling(...).construct(...)
to try and keep chunk sizes constant instead of blowing them up quadratic to the window size.Minimal Complete Verifiable Example
MVCE confirmation
Relevant log output
No response
Anything else we need to know?
No response
Environment
xarray: 2024.7.0
pandas: 2.2.2
numpy: 1.26.4
scipy: 1.14.0
netCDF4: None
pydap: None
h5netcdf: None
h5py: None
zarr: 2.18.2
cftime: 1.6.4
nc_time_axis: None
iris: None
bottleneck: 1.4.0
dask: 2024.9.0
distributed: 2024.9.0
matplotlib: None
cartopy: None
seaborn: None
numbagg: None
fsspec: 2024.6.1
cupy: None
pint: None
sparse: 0.15.4
flox: 0.9.9
numpy_groupies: 0.11.2
setuptools: 73.0.1
pip: 24.2
conda: 24.7.1
pytest: 8.3.3
mypy: None
IPython: 8.27.0
sphinx: None
The text was updated successfully, but these errors were encountered: