tilearray.array.compute_thread_pool_size#

tilearray.array.compute_thread_pool_size(fetch_policy, *, override=None)[source]#

Thread-pool size for Dask’s threads scheduler when computing tile arrays.

Dask defaults to cpu_count() workers, which can cap in-flight tile fetches below max_concurrent. Pass the result as num_workers when calling xarray.DataArray.compute() manually.

Parameters:
Return type:

int