Closed
Description
Like Rolling.construct
this would create a new reshaped array with extra dimensions that would usually be reduced over. It would be a light wrapper over Variable._coarsen_reshape
It make #5119, and #2419 really easy without having to go through a MultiIndex+unstack operation which is somewhat arcane.
ds.coarsen(time=12).construct(dim="year").rename({"time": "month"})