home / github / issues

Menu
  • Search all tables
  • GraphQL API

issues: 228872889

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
228872889 MDU6SXNzdWUyMjg4NzI4ODk= 1410 to_netcdf without path argument returns None rather than bytes 11671536 closed 0     2 2017-05-15T23:18:54Z 2017-09-05T13:50:55Z 2017-09-05T13:50:55Z NONE      

I am using: Ubuntu 16.04 python 3.6.0 xarray 0.9.1 scipy 0.18.1

The documentation states that if no path argument is passed to the to_netcdf method of the DataArray class it returns a bytes object. However, it returns None.

python import xarray as xr dar = xr.DataArray([1, 2, 3]) output = dar.to_netcdf() assert isinstance(output, bytes) # fails because output is None

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

Links from other tables

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