home / github / issues

Menu
  • GraphQL API
  • Search all tables

issues: 105536609

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
105536609 MDU6SXNzdWUxMDU1MzY2MDk= 564 to_netcdf() writes attrs as unicode strings 13906519 closed 0     2 2015-09-09T07:37:17Z 2015-09-09T16:57:48Z 2015-09-09T16:57:48Z NONE      

Hi.

Seems like xray writes attributes as unicode strings to netcdf files. This causes problems with other software. The attrs show up as "string ..." with ncdump for instance and ncview does not recognise the units attributes etc.

For the moment I do this: nc.attrs = OrderedDict( (str(k),str(v)) for k,v in nc1_backup.attrs.iteritems() )

{
    "url": "https://api.github.com/repos/pydata/xarray/issues/564/reactions",
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  completed 13221727 issue

Links from other tables

  • 0 rows from issues_id in issues_labels
  • 2 rows from issue in issue_comments
Powered by Datasette · Queries took 0.885ms · About: xarray-datasette