issue_comments: 656353542
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/4213#issuecomment-656353542 | https://api.github.com/repos/pydata/xarray/issues/4213 | 656353542 | MDEyOklzc3VlQ29tbWVudDY1NjM1MzU0Mg== | 35968931 | 2020-07-09T21:11:31Z | 2020-07-09T22:06:32Z | MEMBER | Hi @hamiddashti , based on your description then this isn't a bug, it's throwing the error it should be throwing given your input. However I can now see how the documentation doesn't make it very clear as to why this is happening!
That error is an explicit rejection of the input you gave it: "you gave me overlapping coordinates, I don't know how to concatenate those, so I'll reject them." Normally this makes sense - when the overlapping coordinates aren't NaNs then it's ambiguous as to which values to choose. In your case then you are asking it to perform a well-defined operation, and the discussion in the docs about merging overlapping coordinates here implies that It might be possible to generalise the (Issue #3150 was about something else, an actual bug in the handling of "coordinate dimensions which do not vary between each dataset".) Instead, what you need to do is trim off the overlap first. That shouldn't be hard - presumably you know (or can determine) how big your overlap is, and all your NaNs are on one dataset. You just need to use the Would it be clearer if I added an example to the documentation where some overlapping data had to be trimmed first? |
{ "total_count": 1, "+1": 1, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
654150730 |