Save to_netcdf hangs after using open_mfdataset #5801
Unanswered
emmaworthington
asked this question in
Q&A
Replies: 1 comment
-
There are some open issues on this topic: https://github.com/pydata/xarray/issues?q=is%3Aissue+is%3Aopen+hangs I never really figured it out and ended up throwing in a |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I'm using open_mfdataset to open a number of NEMO/ORCA12 files for a small region. I regrid the data using xesmf, then I want to save the regridded data using to_netcdf. However, the code just hangs while saving, and appears to be stuck in threading.wait().
I've tried adding lock=False to the open_mfdataset parameters, but it still hangs.
Any ideas? Otherwise I'll load the data separately, do the regridding and merge the regridded data manually.
Thanks
Beta Was this translation helpful? Give feedback.
All reactions