Skip to content

Is it possible to load chunks from a dataarray in the background? #9913

Closed Answered by GrowlingM1ke
GrowlingM1ke asked this question in Q&A
Discussion options

You must be logged in to vote

I believe I found a solution to my issue, threading is limited by GIL and since the load() function is significant the only solution was to create a new process, hence I used:

from concurrent.futures import ProcessPoolExecutor

Which resolved my issue.

If anyone is interested in the implementation, then I should have it up on my repo in the near future here

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by GrowlingM1ke
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant