odc.stac.ParsedItem
- class odc.stac.ParsedItem(id, collection, bands, geometry=None, datetime=None, datetime_range=(None, None), href=None, accessories=<factory>)[source]
Captures essentials parts for data loading from a STAC Item.
Only includes raster bands of interest.
- __init__(id, collection, bands, geometry=None, datetime=None, datetime_range=(None, None), href=None, accessories=<factory>)
Methods
__init__(id, collection, bands[, geometry, ...])assets()Extract bands grouped by asset they belong to.
crs([bands])First non-null CRS across assets.
geoboxes([bands])Unique
GeoBoxs, highest resolution first.get(k[,d])image_geometry([crs, bands])Extract footprint of a given band(s) from proj metadata in a given projection.
items()keys()resolve_bands([bands])Query bands taking care of aliases.
safe_geometry([crs, bands])Get item geometry footprint in desired projection or native.
solar_date_at(lon)Nominal datetime adjusted by longitude.
strip()Copy of self but with stripped bands.
values()Attributes
datetimeNominal timestamp.
datetime_rangeTime period covered.
geometryFootprint of the dataset.
hrefSelf link from stac item.
mid_longitudeReturn longitude of the center point.
nominal_datetimeResolve timestamp to a single value.
solar_dateNominal datetime adjusted by longitude.
idItem id copied from STAC.
collectionCollection this Item is part of.
bandsRaster bands.
accessoriesAdditional assets