odc.stac.RasterCollectionMetadata
- class odc.stac.RasterCollectionMetadata(name, meta, has_proj, band2grid)[source]
Information about raster data in a collection.
We assume that assets with the same names have the same kind of raster data across items within a collection. This is built from the combination of data collected from STAC and user configuration if supplied.
- __init__(name, meta, has_proj, band2grid)
Methods
__init__(name, meta, has_proj, band2grid)asset_names()band_aliases([unique])Compute inverse of alias mapping.
band_key(band)Compute canonical band key for an alias/band.
canonical_name(band)Canonical name for an alias.
get(k[,d])items()keys()meta_for([bands])Extract raster group metadata for a subset of bands.
normalize_band_query([bands])patch(**kwargs)resolve_bands([bands])Query bands taking care of aliases.
values()Attributes
aliasesall_bandsbandsprop_bandsnameCollection name.
metaBand, aliases and extra dimensions metadata.
has_projWhether to expect/look for
projextension on item assets.band2gridBand name to grid name mapping.