issues: 438590881
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 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
438590881 | MDU6SXNzdWU0Mzg1OTA4ODE= | 2931 | MergeError: coordinate mytime1 shares a name with a dataset dimension …. This is disallowed by the xarray data model. | 15742456 | open | 0 | 3 | 2019-04-30T03:33:08Z | 2019-05-06T15:10:18Z | NONE | ```python import xarray as xr import pandas as p import numpy as np var1 = np.ones((364)) tt1=p.date_range('1/1/2018','12/30/2018') tt1.name= 'time1_name' var=xr.Dataset( data_vars={ 'var1':(('mytime1'),var1), }, coords={ 'mytime1':tt1, } ) ``` Problem descriptionI got the following error "MergeError: coordinate mytime1 shares a name with a dataset dimension, but is not a 1D variable along that dimension. This is disallowed by the xarray data model." when I inlcude name attribue "time1_name" to the var1 dimension mytime1. Expected OutputOutput of
|
{ "url": "https://api.github.com/repos/pydata/xarray/issues/2931/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
13221727 | issue |