
Lazy resample/reproject to a target grid. Created by align_to(). Barrier. At execution time this materialises as a gdalraster VRT warp.
WarpNode.RdLazy resample/reproject to a target grid. Created by align_to().
Barrier. At execution time this materialises as a gdalraster VRT warp.
Arguments
- id
Integer node id (assigned by
graph_add()).- parents
Integer ids of parent nodes (may be empty).
- grid
Output
GridSpecof this node.- role
Optional semantic role tag (e.g. "mask", set by
apply_mask()). Pure metadata: never read by the planner or executors; surfaced byplan_draw()andplan_view().- target_grid
GridSpecto warp onto.- resampling
Resampling method ("nearest", "bilinear", "cubic", ...).
- bands
Source bands this warp reads, overriding its parent source's band. Length 0 (the default) reads the parent's band; the planner sets it when it collapses a band stack of warps over one file into a single multi-band warp.
- coarsen
Block factor set by
coarsen(): the sources go by nearest neighbour onto the gridcoarsentimes finer thantarget_grid, and each target cell is the mean of the valid values of its block. 1 (the default) is an ordinary warp.