Large data & batch
1 operators. Inputs marked required must be connected or given; the others have defaults.
batch.run#
An operator run on many rasters in parallel (landschaft's batch, GuidosToolbox's Batch Process): each worker reads one raster, runs the operator on it and writes what it gives to the output folder, named after the input and the operator: maps
| Output | Type | What it is |
|---|---|---|
table | table | a row per input: its number, ok (1/0), skipped (1/0: done before), seconds, files |
report | text | each input and its outcome |
| Setting | Type | What it is |
|---|---|---|
operatorrequired | text | the operator, e.g. landscape.mspa |
inputsrequired | any | a folder, a glob pattern (tiles/*.tif) or a list of rasters |
output_dirrequired | text | the folder for the results |
params | any | the operator's parameters ({"edge_width": 2}) |
input | text | the operator's input taking the raster (default: its first map) |
workers | integer | rasters at the same time (default: the threads) |
overwrite | bool | recompute inputs already done |
recursive | bool | the rasters of the folder's sub-folders too |