1.1.3.1.3. tds2stac.extensions.extra_metadata module#

class tds2stac.extensions.extra_metadata.ExtraMetadata(logger_properties: dict = {})[source]#

Bases: object

A class to add extra metadata to the STAC items and collections. :param logger_properties: A dictionary containing the logger properties. :type logger_properties: dict

collection(collection: Collection, extra_metadata: dict = {})[source]#

Add extra metadata to the STAC collection.

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

Add extra metadata to the STAC item.

open_json_file(file_path: str) dict[source]#

Open the JSON file.