The terra package
- The terra package
- Classes
- Creating SpatRaster objects
- Raster algebra
- High-level methods
- Plotting
- Writing files
- Cell-level functions
- Spatial prediction
- Parallelization
- Introduction
- The constraint: terra objects hold a C++ pointer
- Strategy 1 —
wrap()andunwrap() - Strategy 2 — pass filenames, open them on the worker
- Strategy 3 — partition by tiles
- Strategy 4 — exchange raw values
- Function-level parallelism: the
coresargument - Within-process parallelism: TBB
- Single computer vs. HPC cluster
- Miscellaneous