pull_requests: 1411248888
This data as json
id | node_id | number | state | locked | title | user | body | created_at | updated_at | closed_at | merged_at | merge_commit_sha | assignee | milestone | draft | head | base | author_association | auto_merge | repo | url | merged_by |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1411248888 | PR_kwDOAMm_X85UHfL4 | 7948 | closed | 0 | Implement preferred_chunks for netcdf 4 backends | 167802 | According to the `open_dataset` documentation, using `chunks="auto"` or `chunks={}` should yield datasets with variables chunked depending on the preferred chunks of the backend. However neither the netcdf4 nor the h5netcdf backend seem to implement the `preferred_chunks` encoding attribute needed for this to work. This PR adds this attribute to the encoding upon data reading. This results in `chunks="auto"` in `open_dataset` returning variables with chunk sizes multiples of the chunks in the nc file, and for `chunks={}`, returning the variables with then exact nc chunk sizes. - [x] Closes #1440 - [x] Tests added - [ ] User visible changes (including notable bug fixes) are documented in `whats-new.rst` - [ ] New functions/methods are listed in `api.rst` | 2023-06-28T08:43:30Z | 2023-09-12T09:01:03Z | 2023-09-11T23:05:49Z | 2023-09-11T23:05:49Z | de66daec91aa277bf3330c66e0e7f70a8d2f5acc | 0 | 8d1a140da55597b6b7074e2aad0e24b7bfc9ac90 | 3edd9978b4590666e83d8c0e4e8f574be09ff4c8 | CONTRIBUTOR | 13221727 | https://github.com/pydata/xarray/pull/7948 |
Links from other tables
- 3 rows from pull_requests_id in labels_pull_requests