From 4e55efb1ce672637e3f3131c2a7d7b60ab918be7 Mon Sep 17 00:00:00 2001 From: Patrick Hoefler <61934744+phofl@users.noreply.github.com> Date: Wed, 6 Nov 2024 15:15:55 +0100 Subject: [PATCH] Remove unnecessary rechunk before rolling (#1583) --- tests/geospatial/workloads/climatology.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/tests/geospatial/workloads/climatology.py b/tests/geospatial/workloads/climatology.py index 552b8f5cd6..bfc13f80bc 100644 --- a/tests/geospatial/workloads/climatology.py +++ b/tests/geospatial/workloads/climatology.py @@ -157,8 +157,6 @@ def highlevel_api( window_weights = create_window_weights(window_size) half_window_size = window_size // 2 ds = ds.pad(pad_width={"dayofyear": half_window_size}, mode="wrap") - # FIXME: https://github.com/pydata/xarray/issues/9550 - ds = ds.chunk(latitude=128, longitude=128) ds = ds.rolling(dayofyear=window_size, center=True).construct("window") ds = ds.weighted(window_weights).mean(dim=("window", "year")) ds = ds.isel(dayofyear=slice(half_window_size, -half_window_size))