issue_comments
12 rows where issue = 597657663 sorted by updated_at descending
This data as json, CSV (advanced)
Suggested facets: reactions, created_at (date), updated_at (date)
issue 1
- Hangs while saving netcdf file opened using xr.open_mfdataset with lock=None · 12 ✖
id | html_url | issue_url | node_id | user | created_at | updated_at ▲ | author_association | body | reactions | performed_via_github_app | issue |
---|---|---|---|---|---|---|---|---|---|---|---|
778972571 | https://github.com/pydata/xarray/issues/3961#issuecomment-778972571 | https://api.github.com/repos/pydata/xarray/issues/3961 | MDEyOklzc3VlQ29tbWVudDc3ODk3MjU3MQ== | bekatd 6948919 | 2021-02-15T06:11:34Z | 2021-02-15T06:11:34Z | NONE | Please make some dummy tests, I did time.sleep, prior every operation. This was the only workaround that really worked. |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Hangs while saving netcdf file opened using xr.open_mfdataset with lock=None 597657663 | |
778841149 | https://github.com/pydata/xarray/issues/3961#issuecomment-778841149 | https://api.github.com/repos/pydata/xarray/issues/3961 | MDEyOklzc3VlQ29tbWVudDc3ODg0MTE0OQ== | heerad 2560426 | 2021-02-14T21:01:21Z | 2021-02-14T21:01:21Z | NONE |
To clarify, do you mean adding a sleep of e.g. 1 second prior to your Is this solution only addressing the issue of opening the same ds multiple times within a python process, or would it also address multiple processes opening the same ds? |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Hangs while saving netcdf file opened using xr.open_mfdataset with lock=None 597657663 | |
778839471 | https://github.com/pydata/xarray/issues/3961#issuecomment-778839471 | https://api.github.com/repos/pydata/xarray/issues/3961 | MDEyOklzc3VlQ29tbWVudDc3ODgzOTQ3MQ== | bekatd 6948919 | 2021-02-14T20:47:27Z | 2021-02-14T20:47:27Z | NONE |
Or alternatively you can try to set sleep between openings. When you try to open same file from different functions with different operations, it is better to keep file opening function wrapped with a 1 second delay/sleep rather than direct open |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Hangs while saving netcdf file opened using xr.open_mfdataset with lock=None 597657663 | |
778838527 | https://github.com/pydata/xarray/issues/3961#issuecomment-778838527 | https://api.github.com/repos/pydata/xarray/issues/3961 | MDEyOklzc3VlQ29tbWVudDc3ODgzODUyNw== | heerad 2560426 | 2021-02-14T20:40:38Z | 2021-02-14T20:40:38Z | NONE | Also seeing this as of version 0.16.1. In some cases, I need In other cases, I need Is the current recommended solution to set |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Hangs while saving netcdf file opened using xr.open_mfdataset with lock=None 597657663 | |
749504491 | https://github.com/pydata/xarray/issues/3961#issuecomment-749504491 | https://api.github.com/repos/pydata/xarray/issues/3961 | MDEyOklzc3VlQ29tbWVudDc0OTUwNDQ5MQ== | fmaussion 10050469 | 2020-12-22T11:56:07Z | 2020-12-22T11:56:07Z | MEMBER | Just adding my +1 here, and also mention that (if memory allows), |
{ "total_count": 1, "+1": 1, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Hangs while saving netcdf file opened using xr.open_mfdataset with lock=None 597657663 | |
731254101 | https://github.com/pydata/xarray/issues/3961#issuecomment-731254101 | https://api.github.com/repos/pydata/xarray/issues/3961 | MDEyOklzc3VlQ29tbWVudDczMTI1NDEwMQ== | jklymak 1562854 | 2020-11-20T16:01:03Z | 2020-11-20T16:01:03Z | CONTRIBUTOR |
I haven't seen that yet, but I'd still far prefer an occasional error to a hung process. |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Hangs while saving netcdf file opened using xr.open_mfdataset with lock=None 597657663 | |
730033698 | https://github.com/pydata/xarray/issues/3961#issuecomment-730033698 | https://api.github.com/repos/pydata/xarray/issues/3961 | MDEyOklzc3VlQ29tbWVudDczMDAzMzY5OA== | bekatd 6948919 | 2020-11-19T00:02:09Z | 2020-11-19T00:04:13Z | NONE |
Lock false sometimes throws hd5 error. No clear solution. The only solution I have found, sleep method for 1 second |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Hangs while saving netcdf file opened using xr.open_mfdataset with lock=None 597657663 | |
730007824 | https://github.com/pydata/xarray/issues/3961#issuecomment-730007824 | https://api.github.com/repos/pydata/xarray/issues/3961 | MDEyOklzc3VlQ29tbWVudDczMDAwNzgyNA== | jklymak 1562854 | 2020-11-18T22:51:47Z | 2020-11-18T22:51:47Z | CONTRIBUTOR | I have the same behaviour with MacOS (10.15). xarray=0.16.1, dask=2.30.0, netcdf4=1.5.4. Sometimes saves, sometimes doesn't. |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Hangs while saving netcdf file opened using xr.open_mfdataset with lock=None 597657663 | |
691788479 | https://github.com/pydata/xarray/issues/3961#issuecomment-691788479 | https://api.github.com/repos/pydata/xarray/issues/3961 | MDEyOklzc3VlQ29tbWVudDY5MTc4ODQ3OQ== | shadowleaves 5053963 | 2020-09-14T03:21:45Z | 2020-09-14T03:21:45Z | NONE | I have the same issue as well and it appears to me that Ubuntu system is more prone to this issue vs. CentOS. Wondering if anyone else has a similar experience |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Hangs while saving netcdf file opened using xr.open_mfdataset with lock=None 597657663 | |
690332310 | https://github.com/pydata/xarray/issues/3961#issuecomment-690332310 | https://api.github.com/repos/pydata/xarray/issues/3961 | MDEyOklzc3VlQ29tbWVudDY5MDMzMjMxMA== | bekatd 6948919 | 2020-09-10T14:36:53Z | 2020-09-10T14:38:51Z | NONE | Using:
I am experiencing same when trying to write netcdf file using xr.to_netcdf() on a files opened via xr.open_mfdataset with lock=None. Then I tried OP's suggestion and it worked like a charm BUT Now I am facing different issue. Seems that hdf5 IS NOT thread safe, since I encounter NetCDF: HDF error while applying different function on a netcdf file, previously were processed by another function with lock=False. script just terminates not even reaching any calculation step in the code. seems like lock=False works opposite and file is in a corrupted mode? This is the BIGGEST issue and needs resolve ASAP |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Hangs while saving netcdf file opened using xr.open_mfdataset with lock=None 597657663 | |
628985289 | https://github.com/pydata/xarray/issues/3961#issuecomment-628985289 | https://api.github.com/repos/pydata/xarray/issues/3961 | MDEyOklzc3VlQ29tbWVudDYyODk4NTI4OQ== | sjsmith757 45645265 | 2020-05-15T02:14:48Z | 2020-05-15T02:14:48Z | NONE | Using:
I have experienced this issue as well when writing netcdf using |
{ "total_count": 1, "+1": 1, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Hangs while saving netcdf file opened using xr.open_mfdataset with lock=None 597657663 | |
623402330 | https://github.com/pydata/xarray/issues/3961#issuecomment-623402330 | https://api.github.com/repos/pydata/xarray/issues/3961 | MDEyOklzc3VlQ29tbWVudDYyMzQwMjMzMA== | markelg 6883049 | 2020-05-04T11:12:25Z | 2020-05-06T08:47:46Z | CONTRIBUTOR | Thanks @jessicaaustin. We have run into the same issue. Setting lock=False works, but as hdf5 is not thread safe, we are not sure if this could have unexpected consequences. Edit: Actually, I have checked, and the hdf5 version we are using (from conda-forge) is build in thread safe mode. This means that concurrent reads are possible, and that the lock=False in open_mfdataset would be safe. In fact it is more efficient as it does not make sense to handle locks if hdf5 is already thread safe. Am I right? |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Hangs while saving netcdf file opened using xr.open_mfdataset with lock=None 597657663 |
Advanced export
JSON shape: default, array, newline-delimited, object
CREATE TABLE [issue_comments] ( [html_url] TEXT, [issue_url] TEXT, [id] INTEGER PRIMARY KEY, [node_id] TEXT, [user] INTEGER REFERENCES [users]([id]), [created_at] TEXT, [updated_at] TEXT, [author_association] TEXT, [body] TEXT, [reactions] TEXT, [performed_via_github_app] TEXT, [issue] INTEGER REFERENCES [issues]([id]) ); CREATE INDEX [idx_issue_comments_issue] ON [issue_comments] ([issue]); CREATE INDEX [idx_issue_comments_user] ON [issue_comments] ([user]);
user 7