issue_comments: 1339440638
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/7363#issuecomment-1339440638 | https://api.github.com/repos/pydata/xarray/issues/7363 | 1339440638 | IC_kwDOAMm_X85P1j3- | 8382834 | 2022-12-06T14:06:02Z | 2022-12-06T14:12:04Z | CONTRIBUTOR | @kmuehlbauer many thanks for your answer :) . I think this is a very good fit indeed. The only drawback I see is the need to create the time array in advance (i.e. I have to say to xarray "use this time array instead" and trust that the right "matching" is done on existing data, rather than just say "keep the existing arrays as they are, just extend their size and fill them with default value"), but agree this is otherwise equivalent to the thing I ask for :) . I will udpate the SO thread with your suggestion, pointing to this issue, and giving credits to you of course, if this is ok :) . edit: re-reading the SO answer, I think it is not exactly what we discuss here, I will wait for now. edit: with your help, I am able to search better on SO, and this is well described at https://stackoverflow.com/questions/70370667/how-do-i-expand-a-data-variable-along-a-time-dimension-using-xarray :) . Keeping open just so that maintainers can decide if the "size extension" is so close to the "reindex" that they just want to direct users to "reindex", or if they want to add an "growdim" or similar. |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
1479121713 |