tilezilla.products.core module

Core baseclass for products in tilezilla

Defines the class attributes and methods required for a product.

class tilezilla.products.core.BaseProduct(timeseries_id, acquired, processed, platform, instrument, bounds, bands=None, metadata=None, metadata_files=None)[source]

Bases: object

Product interface for tilezilla

Variables:

description (str) – Description of the collection this product belongs to (e.g., ESPALandsat, MODIS_C6)

Parameters:
  • timeseries_id (str) – Unique acquisition ID
  • acquired (Arrow) – Acquisition date and time
  • processed (Arrow) – Product processing date and time
  • platform (str) – Satellite / aircraft platform (e.g., AQUA)
  • instrument (str) – Remotely sensed instrument (e.g., MODIS)
  • bounds (BoundingBox) – A rough estimate of the bounding box for this product acquisition. Bounds are used as an initial guess for the tiles that intersect this product, so it is more important that this box encloses the actual product bounds than it is to be very accurate
  • bands (list[Band]) – List of Band for this dataset
  • metadata (dict) – Dictionary of metadata about this product
  • metadata_files (list[str]) – List of filenames containing ancillary metadata
acquired()[source]

Arrow: date and time of acquisition

bands()[source]

list[Band]: bands contained within dataset

bounds()[source]

BoundingBox: The bounding box of this product in EPSG:4326

classmethod from_path(path)[source]

Return an instance of this product stored at a given path

instrument()[source]

str: the instrument sensor of this acquisition

metadata()[source]

dict: Dictionary of metadata about this product

metadata_files()[source]

dict: name and paths to any metadata files for this observation

platform()[source]

str: the platform holding the sensor instrument of this acquisition

processed()[source]

Arrow: Date and time of processing

timeseries_id()[source]

str: identifier for this acquisition

description

str: Description of product