eumap.parallel.utilsΒΆ

Parallelization helpers based in thread/process pools and joblib

Module attributes

CPU_COUNT

Number of CPU cores available.

Functions

ProcessGeneratorLazy

Execute a function in parallel using a ProcessPoolExecutor [1].

ThreadGeneratorLazy

Execute a function in parallel using a ThreadPoolExecutor [1].

apply_along_axis

Execute a function through a numpy.array axis in parallel [1].

job

Execute a function in parallel using joblib [1].

Classes

TaskSequencer

Execute a pipeline of sequential tasks, in a way that the output of one task is used as input for the next task.

TilingProcessing

Execute a processing function in parallel considering a tiling system and a base raster.