home / github / issue_comments

Menu
  • GraphQL API
  • Search all tables

issue_comments: 649976034

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/4131#issuecomment-649976034 https://api.github.com/repos/pydata/xarray/issues/4131 649976034 MDEyOklzc3VlQ29tbWVudDY0OTk3NjAzNA== 1217238 2020-06-26T05:24:50Z 2020-06-26T05:24:50Z MEMBER

A user might expect that they can write something like: python with nc.Dataset("tmp_example.nc") as ncfile: dstore = xr.backends.NetCDF4DataStore(ncfile) with xr.open_dataset(dstore) as data: ...

Currently this raises an error when the outer context manager exits.

So maybe this is a case for not closing files that were not opened by xarray.

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