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
bandOne based band index (default=1).
driver_dataIO Driver specific extra data.
geoboxData footprint/shape/projection if known.
metaExpected raster dtype/nodata.
subdatasetUsed for netcdf/hdf5 sources.
ydimIndex of y dimension, typically 0.
uriAsset location.