home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 205368137

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/pull/814#issuecomment-205368137 https://api.github.com/repos/pydata/xarray/issues/814 205368137 MDEyOklzc3VlQ29tbWVudDIwNTM2ODEzNw== 1217238 2016-04-04T16:02:38Z 2016-04-04T16:02:38Z MEMBER

Is there any way to know for sure whether a coordinate has been automatically created? Or is the name the only clue?

I'm afraid the name is the only clue. My inclination would be not to do anything special here to "un-name" default coordinates, assuming Iris has a straightforward way to get rid of them. Dimensions like dim0 come up quickly in demo code but rarely in practice -- it's mostly a signal to the user that the should pick a meaningful name.

If this is the way to do things then does this comment need deleting?

Yes, that comment is out of date. I'm currently refactoring that code though, so let me take care care of it.

There's a separate argument about whether or not xarray should automatically convert cubes when passed into the xarray.DataArray constructor. We do this for pandas objects, but not any other labelled array types, currently.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  145140657
Powered by Datasette · Queries took 162.767ms · About: xarray-datasette