sta2stac.creator module#
- class sta2stac.creator.Creator(logger_properties: dict)[source]#
Bases:
objectA class to create the STAC-Catalog, STAC-Collection, and STAC-Item. :param logger_properties: A dictionary of logger properties. :type logger_properties: dict
- STACCatalog(sta_link: str, stac_id: str, stac_title: str, stac_description: str, stac_dir: str, default_catalog_name: str = 'catalog.json', stac_existance_catalog: bool = False)[source]#
Create the STAC-Catalog.
- STACCollection(stac_id: str, stac_title: str, stac_description: str, harvesting_vars: dict, stac_existance_collection: bool, extra_metadata: dict = {}, asset_properties: dict = {})[source]#
Create the STAC-Collection.