home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 398203726

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/issues/1614#issuecomment-398203726 https://api.github.com/repos/pydata/xarray/issues/1614 398203726 MDEyOklzc3VlQ29tbWVudDM5ODIwMzcyNg== 8204522 2018-06-18T21:36:32Z 2018-06-18T21:36:32Z NONE

@shoyer, I assume you are referring to the keep_attrs option. Is there a way to persist attrs during arithmetic options? I find myself writing a bunch of boilerplate to transfer the wealth of metadata included with most netCDF files.

I realize that adding a module-level or DataArray instance-specific maintain_attrs configuration flag (as discussed in #131, #988, #1271) could be problematic, but this strikes me as complexity worth adding. The current approach of dropping all metadata (not just units) seems heavy-handed and unintuitive for new/casual users. As you mentioned in #1271, better to have stale metadata than no metadata at all.

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