issue_comments: 1063859715
This data as json
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/issues/6329#issuecomment-1063859715 | https://api.github.com/repos/pydata/xarray/issues/6329 | 1063859715 | IC_kwDOAMm_X84_aTYD | 6574622 | 2022-03-10T09:44:59Z | 2022-03-10T09:44:59Z | CONTRIBUTOR | Sure, no problem. I believe, this page has a good summary:
So the difference between "a" and "r+" roughly codifies the intended behaviour for sequential access (it's ok to modify everything) and parallel access to independent chunks (where modifying metadata would be bad). So probably that message was suggesting that you have to use "a" if you want to modify metadata (e.g. by expanding the shape), which is true. But to me, it's unclear how one would do that safely with (potentially) parallel region writes, so it's kind of reasonable that region writes don't like to modify metadata. |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
1159923690 |