html_url,issue_url,id,node_id,user,created_at,updated_at,author_association,body,reactions,performed_via_github_app,issue
https://github.com/pydata/xarray/pull/6402#issuecomment-1094119550,https://api.github.com/repos/pydata/xarray/issues/6402,1094119550,IC_kwDOAMm_X85BNvB-,2448579,2022-04-09T20:27:46Z,2022-04-09T20:27:46Z,MEMBER,Thanks all! ,"{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,1177669703
https://github.com/pydata/xarray/pull/6402#issuecomment-1094118500,https://api.github.com/repos/pydata/xarray/issues/6402,1094118500,IC_kwDOAMm_X85BNuxk,38358698,2022-04-09T20:19:02Z,2022-04-09T20:19:02Z,CONTRIBUTOR,"> @stanwest how's that?

That looks great to me.","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,1177669703
https://github.com/pydata/xarray/pull/6402#issuecomment-1093528028,https://api.github.com/repos/pydata/xarray/issues/6402,1093528028,IC_kwDOAMm_X85BLenc,5635139,2022-04-09T00:40:01Z,2022-04-09T00:40:01Z,MEMBER,"@stanwest how's that? (feel free to correct if I missed something, forgive the delay on merging)

Thanks!","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,1177669703
https://github.com/pydata/xarray/pull/6402#issuecomment-1093300764,https://api.github.com/repos/pydata/xarray/issues/6402,1093300764,IC_kwDOAMm_X85BKnIc,38358698,2022-04-08T19:51:24Z,2022-04-08T19:51:24Z,CONTRIBUTOR,"> @stanwest Can you suggest how to fix this merge conflict please?

Sure. I recommend the following before the `return` statement in `xarray.core.dataset._get_chunk`:

```python
# Warn where requested chunks break preferred chunks, provided that the variable
# contains data.
if var.size:
    for dim, size, chunk_sizes in zip(dims, shape, chunk_shape):
        try:
            preferred_chunk_sizes = preferred_chunks[dim]
        except KeyError:
            continue
        # Determine the stop indices of the preferred chunks, but omit the last stop
        # (equal to the dim size).  In particular, assume that when a sequence
        # expresses the preferred chunks, the sequence sums to the size.
        preferred_stops = (
            range(preferred_chunk_sizes, size, preferred_chunk_sizes)
            if isinstance(preferred_chunk_sizes, Number)
            else itertools.accumulate(preferred_chunk_sizes[:-1])
        )
        # Gather any stop indices of the specified chunks that are not a stop index
        # of a preferred chunk.  Again, omit the last stop, assuming that it equals
        # the dim size.
        breaks = set(itertools.accumulate(chunk_sizes[:-1])).difference(
            preferred_stops
        )
        if breaks:
            warnings.warn(
                ""The specified Dask chunks separate the stored chunks along ""
                f'dimension ""{dim}"" starting at index {min(breaks)}. This could '
                ""degrade performance. Instead, consider rechunking after loading.""
            )
```","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,1177669703
https://github.com/pydata/xarray/pull/6402#issuecomment-1093107681,https://api.github.com/repos/pydata/xarray/issues/6402,1093107681,IC_kwDOAMm_X85BJ3_h,2448579,2022-04-08T17:20:11Z,2022-04-08T17:20:11Z,MEMBER,@stanwest Can you suggest how to fix this merge conflict please?,"{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,1177669703
https://github.com/pydata/xarray/pull/6402#issuecomment-1076594709,https://api.github.com/repos/pydata/xarray/issues/6402,1076594709,IC_kwDOAMm_X85AK4gV,5635139,2022-03-23T17:16:26Z,2022-03-23T17:16:26Z,MEMBER,"This looks very reasonable, @jaicher, thanks a lot. 

I don't know this area well at all, so I'll leave open so someone who knows it better can check, or for a couple of days. Hope that's OK.","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,1177669703