issues: 321796423
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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 321796423 | MDU6SXNzdWUzMjE3OTY0MjM= | 2112 | Sanity check when assigning a coordinate to DataArray | 6815844 | closed | 0 | 0 | 2018-05-10T03:22:18Z | 2018-05-15T16:39:22Z | 2018-05-15T16:39:22Z | MEMBER | Code Sample, a copy-pastable example if possibleI think we can raise an Error if the newly assigned coordinate to a DataArray has an invalid shape.
Problem descriptionIt is more user-friendly if we make some sanity checks when a new coordinate is assigned to a xr.DataArray. Dataset raises an appropriate error,
Expected OutputValueError |
{
"url": "https://api.github.com/repos/pydata/xarray/issues/2112/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} |
completed | 13221727 | issue |