home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 1303303334

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/pull/7238#issuecomment-1303303334 https://api.github.com/repos/pydata/xarray/issues/7238 1303303334 IC_kwDOAMm_X85NrtSm 6628425 2022-11-04T11:39:44Z 2022-11-04T11:39:44Z MEMBER

Nice find @mathause! That seems to work. I added a version of that function to utils. The warning from my example above now looks like: test_warning.py:5: UserWarning: Converting non-nanosecond precision datetime values to nanosecond precision. This behavior can eventually be relaxed in xarray, as it is an artifact from pandas which is now beginning to support non-nanosecond precision values. This warning is caused by passing non-nanosecond np.datetime64 or np.timedelta64 values to the DataArray or Variable constructor; it can be silenced by converting the values to nanosecond precision ahead of time. da = xr.DataArray([1], dims=["time"], coords=[times])

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