odc.stac.RasterSource
- class odc.stac.RasterSource(uri, band=1, subdataset=None, geobox=None, meta=None, driver_data=None)[source]
Captures known information about a single band.
- __init__(uri, band=1, subdataset=None, geobox=None, meta=None, driver_data=None)
Methods
__init__
(uri[, band, subdataset, geobox, ...])patch
(**kwargs)Return a new object with updated fields.
strip
()Copy with minimal data only.
Attributes
band
One based band index (default=1).
driver_data
IO Driver specific extra data.
geobox
Data footprint/shape/projection if known.
meta
Expected raster dtype/nodata.
subdataset
Used for netcdf/hdf5 sources.
ydim
Index of y dimension, typically 0.
uri
Asset location.