odc.stac.RasterSource¶
- class odc.stac.RasterSource(uri, band=1, subdataset=None, geobox=None, meta=None)[source]¶
Captures known information about a single band.
- __init__(uri, band=1, subdataset=None, geobox=None, meta=None)¶
Methods
__init__
(uri[, band, subdataset, geobox, meta])strip
()Copy with minimal data only.
Attributes
band
One based band index (default=1).
geobox
Data footprint/shape/projection if known.
meta
Expected raster dtype/nodata.
subdataset
Used for netcdf/hdf5 sources.
uri
Asset location.