issues: 484089737
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 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
484089737 | MDU6SXNzdWU0ODQwODk3Mzc= | 3240 | assign_coords adds coordinates without a new dimension if the value is scalar | 2818208 | closed | 0 | 5 | 2019-08-22T16:14:05Z | 2019-08-26T08:16:37Z | 2019-08-26T08:16:37Z | CONTRIBUTOR | Problem
MCVEConsider the following ```python
I can assign new coordinates to an existing dimension: ```python
And I cannot (correctly) assign coordinates to a new (nonexistent) dimension: ```python
The above fails because Xarray, in the absence of an explicit dimension, tries to assign the new coordinates to a ```python
I would expect this to fail because ```python
|
{ "url": "https://api.github.com/repos/pydata/xarray/issues/3240/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
completed | 13221727 | issue |