sta2stac.extensions.datacube module#

class sta2stac.extensions.datacube.Datacube(logger_properties: dict = {})[source]#

Bases: object

This is a class for adding datacube extension to the STAC item. :param logger_properties: A dictionary containing the logger properties. :type logger_properties: dict

item(item: Item, harvesting_vars: dict = {})[source]#

Add datacube extension to the STAC item. :param item: A STAC item. :type item: pystac.Item :param harvesting_vars: A dictionary containing the harvesting variables. :type harvesting_vars: dict

logger_properties: dict#

A dictionary containing the logger properties. By default it sets to None.