homonim.RasterFuse.create_block_config
- static RasterFuse.create_block_config(threads: int = 0, max_block_mem: float = 100) Dict
Utility method to create a block processing configuration dictionary that can be passed to
RasterFuse.process(). Without arguments, the default configuration is returned.- Parameters:
threads (int, optional) – Number of image blocks to process concurrently. A maximum of the number of processors on your system is allowed. Increasing this number will increase the memory required for processing. 0 = use all processors.
max_block_mem (float, optional) – Maximum size of an image block in megabytes. Note that the total memory consumed by a thread is proportional to, but larger than this number.
- Returns:
Block processing configuration dictionary.
- Return type:
dict