issues: 432019600
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 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
432019600 | MDU6SXNzdWU0MzIwMTk2MDA= | 2887 | Safely open / close netCDF files without resource locking | 6815844 | closed | 0 | 9 | 2019-04-11T13:19:45Z | 2019-05-16T15:28:30Z | 2019-05-16T15:28:30Z | MEMBER | Code Sample, a copy-pastable example if possible(essentially the same to #1629) Opening netCDF file via ds_read = xr.open_dataset('test.nc')
ds.to_netcdf('test.nc') # -> PermissionError
Problem descriptionAnother program cannot write the same netCDF file that xarray has opened, unless -- EDIT --
It is understandable when we do not want to load the entire file into the memory.
However, sometimes I want to read the file that will be updated soon by another program.
Also, I think that many users who are not accustomed to netCDF may expect this behavior (as I think it would be nice to have an option such as Expected OutputNo error Output of
|
{ "url": "https://api.github.com/repos/pydata/xarray/issues/2887/reactions", "total_count": 1, "+1": 1, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
completed | 13221727 | issue |