issues: 220568982
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 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
220568982 | MDU6SXNzdWUyMjA1Njg5ODI= | 1369 | Move/read coordinate as data variable - xarray.Dataset | 13321552 | closed | 0 | 2 | 2017-04-10T08:17:02Z | 2018-10-03T04:29:20Z | 2018-10-03T04:29:19Z | NONE | Hi, I just started to use xarray as part of my geospatial analyses. I just wonder if there is an option in xarray.Dataset to move certain items assigned as coordinates to data variables. <xarray.Dataset> Dimensions: (accuracy: 41, classes: 41, data: 41, pattern: 41, repetition: 41, score: 41, wsizes: 41) Coordinates: * score (score) float64 0.1306 0.3237 0.3688 0.4264 nan 0.3835 ... * wsizes (wsizes) int64 4 4 4 4 4 4 7 7 7 7 7 7 10 10 10 10 10 10 13 ... * classes (classes) |S5 '5-9' '1-5-9' '1-5-9' '1-5-9' '5-9' '5-9' ... * pattern (pattern) |S1 'l' 'c' 'g' 'f' 'r' 'd' 'd' 'c' 'f' 'l' 'g' ... * repetition (repetition) int64 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 ... * accuracy (accuracy) float64 0.9584 0.9053 0.868 0.8519 0.9943 0.8467 ... * data (data) float64 0.9584 0.9053 0.868 0.8519 0.9943 0.8467 ... Data variables: empty I use xarray.Dataset from a dictionary and even some items from the dictionary were correctly read as coordinates, others items weren't such as "accuracy" and "score". Thank you. |
{ "url": "https://api.github.com/repos/pydata/xarray/issues/1369/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
completed | 13221727 | issue |