
A GDAL-readable source: path + band + optional nodata sentinel.
SourceNode.RdCreated by lazy_source(). A declared nodata on an integer source
promotes the source's output dtype to f32 so NaN can carry nodata
downstream; the executor rewrites value == nodata to NaN at read
time.
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
mask()). Pure metadata: never read by the planner or executors; surfaced bydraw()andplan_view().- path
Path or VSI URL readable by GDAL.
- band
1-based band index.
- nodata
Length-0 (absent) or length-1 nodata sentinel value.
- block_dim
Native GDAL block size (length 2), or length 0 if unknown; the chunking pass snaps chunk sizes to it.
- open_options
GDAL open options ("KEY=VALUE"), e.g. GTI FILTER.
- resampling
GDAL resampling used when a read reprojects/rescales the source onto the analysis grid (default "near").
- scale, offset
Length-0 (absent) or length-1 band affine applied inside the read kernel after sentinel -> NaN (see
lazy_source()).- name
Optional display name (the asset or band name). Pure metadata, shown by
plan_view(); set bylazy_dataset().