sta2stac.harvester module#

class sta2stac.harvester.Harvester(logger_properties: dict, harvesting_vars: dict)[source]#

Bases: object

A class to harvest the SensorThings API attributes. :param logger_properties: A dictionary containing the logger properties. :type logger_properties: dict :param harvesting_vars: A dictionary containing the harvesting variables. :type harvesting_vars: dict

harvesting_vars: dict#

A dictionary containing the harvesting variables keys.

item(link: str, version: str, number_of_things: int, requests_properties: dict, item_tuples: list[tuple] = [], datacube_extension: bool = False, filter: str = '')[source]#

Harvest the Things in SensorThings API as STAC-Item.

logger_properties: dict#

A dictionary containing the logger properties.