home / github / issue_comments

Menu
  • GraphQL API
  • Search all tables

issue_comments: 462096025

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/2758#issuecomment-462096025 https://api.github.com/repos/pydata/xarray/issues/2758 462096025 MDEyOklzc3VlQ29tbWVudDQ2MjA5NjAyNQ== 1217238 2019-02-10T01:45:38Z 2019-02-10T01:45:38Z MEMBER

The source of your trouble is that the time variable on ds_test2 doesn't have datetime64 type, so xarray isn't making use of the units encoding. Xarray is giving an error message rather than silently ignoring units.

There's also definitely an opportunity for better error messages here, but the work around is to either let xarray handle datetime conversion or do it all yourself by not including units in encoding.

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