home / github / issues

Menu
  • GraphQL API
  • Search all tables

issues: 593353601

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
593353601 MDExOlB1bGxSZXF1ZXN0Mzk4MTQ5ODY5 3930 Only fail certain use_cftime backend tests if a specific warning occurs 6628425 closed 0     1 2020-04-03T12:39:47Z 2020-04-03T23:22:29Z 2020-04-03T19:35:18Z MEMBER   0 pydata/xarray/pulls/3930
  • [x] Closes #3928
  • [x] Passes isort -rc . && black . && mypy . && flake8

The warning we want to avoid in these tests is: SerializationWarning: Unable to decode time axis into full numpy.datetime64 objects, continuing using cftime.datetime objects instead, reason: dates out of range dtype = _decode_cf_datetime_dtype(data, units, calendar, self.use_cftime)

Other warnings could occur, but shouldn't cause the tests to fail. This modifies these tests to only fail if a warning with this message occurs.

The warning that is occurring seems to be stemming from within the netcdf4-python library: DeprecationWarning: tostring() is deprecated. Use tobytes() instead. attributes = {k: var.getncattr(k) for k in var.ncattrs()}

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

Links from other tables

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