home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 358324488

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/1064#issuecomment-358324488 https://api.github.com/repos/pydata/xarray/issues/1064 358324488 MDEyOklzc3VlQ29tbWVudDM1ODMyNDQ4OA== 1997005 2018-01-17T14:41:14Z 2018-01-17T14:41:14Z CONTRIBUTOR

I faced this issue when switching from a concat to a merge.

The first merged dataset had a time dimension which encoding says {'calendar': 'proleptic_gregorian', 'dtype': dtype('int64'), 'units': 'minutes since 2017-08-20 00:00:00'}, which meant that the data from the second merged dataset could not be stored with a finer resolution than minutes.

If I try to store values like '2017-08-20 00:00:30', I get the warning xarray\conventions.py:1092: RuntimeWarning: saving variable time with floating point data as an integer dtype without any _FillValue to use for NaNs.

Maybe it is similar in your case: netcdf stored the data as 'hours since XXXX', so you lose the minutes.

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