issues: 2060490766
This data as json
id | node_id | number | title | user | state | locked | assignee | milestone | comments | created_at | updated_at | closed_at | author_association | active_lock_reason | draft | pull_request | body | reactions | performed_via_github_app | state_reason | repo | type |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
2060490766 | PR_kwDOAMm_X85i9R7z | 8575 | Add chunk-friendly code path to `encode_cf_datetime` and `encode_cf_timedelta` | 6628425 | closed | 0 | 6 | 2023-12-30T01:25:17Z | 2024-01-30T02:17:58Z | 2024-01-29T19:12:30Z | MEMBER | 0 | pydata/xarray/pulls/8575 | I finally had a moment to think about this some more following discussion in https://github.com/pydata/xarray/pull/8253. This PR adds a chunk-friendly code path to Though it largely reuses existing code, the lazy encoding implemented in this PR is stricter than eager encoding in a couple ways:
1. It requires either both the encoding units and dtype be prescribed, or neither be prescribed; prescribing one or the other is not supported, since it requires inferring one or the other from the data. In the case that neither is specified, the dtype is set to As part of this PR, since dask requires we know the dtype of the array returned by the function passed to
I eventually want to think about this on the decoding side as well, but that can wait for another PR.
|
{ "url": "https://api.github.com/repos/pydata/xarray/issues/8575/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
13221727 | pull |