alsdb.processing._tiling.run_tiled#

alsdb.processing._tiling.run_tiled(worker_fn: Callable, provider, tiles, store, n_workers: int, **kwargs) None[source]#

Run worker_fn over all tiles, sequentially or in a thread pool.

The worker signature must be:

worker_fn(provider, query_bbox, crop_bbox, store, tile_index, **kwargs)

Shared by alsdb.processing.chm, alsdb.processing.gap, and alsdb.processing.biomass.