odc.stac.RasterBandMetadata¶
- class odc.stac.RasterBandMetadata(data_type=None, nodata=None, unit='1', dims=None)[source]¶
Common raster metadata per band.
We assume that all assets of the same name have the same “structure” across different items within a collection. Specifically, that they encode pixels with the same data type, use the same
nodata
value and have common units.These values are extracted from the
eo:bands
extension, but can also be supplied by the user from the config.- __init__(data_type=None, nodata=None, unit='1', dims=None)¶
Methods
__init__
([data_type, nodata, unit, dims])Attributes
data_type
Numpy compatible dtype string.
dims
Dimension names for this band.
nodata
Nodata marker/fill_value.
unit
Units of the pixel data.