home / github / issues

Menu
  • Search all tables
  • GraphQL API

issues: 490228661

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
490228661 MDExOlB1bGxSZXF1ZXN0MzE0ODc0MDI5 3283 Add hypothesis test for netCDF4 roundtrip 327925 open 0     5 2019-09-06T09:33:48Z 2022-11-21T22:45:13Z   MEMBER   0 pydata/xarray/pulls/3283

Part of #1846: add a property-based test for reading & writing netCDF4 files.

This is the first time I've played with Hypothesis, but it seems to be working - e.g. I got an error with float16, and the netCDF docs show that 16-bit floats are not a supported data type.

However:

  • This currently only tests a dataset with a single variable - it could be extended to multiple variables if that's useful.
  • It looks like netCDF4 should support unicode characters, but it failed when I didn't have max_codepoint=255 in there. I don't know if that's an expected limitation I'm not aware of, or a bug somewhere. But I thought I'd make the test pass for now.
{
    "url": "https://api.github.com/repos/pydata/xarray/issues/3283/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

  • 2 rows from issues_id in issues_labels
  • 5 rows from issue in issue_comments
Powered by Datasette · Queries took 82.465ms · About: xarray-datasette