home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 610444090

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/3942#issuecomment-610444090 https://api.github.com/repos/pydata/xarray/issues/3942 610444090 MDEyOklzc3VlQ29tbWVudDYxMDQ0NDA5MA== 1197350 2020-04-07T15:10:40Z 2020-04-07T15:10:40Z MEMBER

I agree with Deepak. Xarray intelligently chooses its encoding when it write the initial dataset to make sure it has enough precision to resolve all times. It cannot magically know that, in the future, you plan to append data which requires greater precision. Your options are: - If you know from the outset that you will require greater precision in time encoding, you can manually specify your encoding before you write (http://xarray.pydata.org/en/stable/io.html#scaling-and-type-conversions) - If you don't know from the outset, you will have to overwrite the full time variable with new encoding

I also agree that we should definitely be raising a warning (or even an error) in your situation.

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