home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 1210238864

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/6904#issuecomment-1210238864 https://api.github.com/repos/pydata/xarray/issues/6904 1210238864 IC_kwDOAMm_X85IIseQ 12760310 2022-08-10T06:51:18Z 2022-08-10T06:51:18Z NONE

Can you try explicitly passing in a multiprocessing lock into the open_dataset() constructor? Something like:

python from multiprocessing import Lock ds = xarray.open_dataset(file, lock=Lock())

(We automatically select appropriate locks if using Dask, but I'm not sure how we would do that more generally...)

ok that's a good shot. Will that work in the same way if I still use process_map, which uses concurrent.futures under the hood?

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