sta2stac.analysers.existence_validator module#

class sta2stac.analysers.existence_validator.ExistenceValidator(stac_dir: str, default_catalog_name: str = 'catalog.json', logger_properties: dict | None = {})[source]#

Bases: object

A class for verifying the main STAC catalog’s existence. This class is implemented in STACCreator.

Parameters:
  • stac_dir (str) – Directory of the main STAC catalog (*)

  • default_catalog_name (str, optional) – Name of the main STAC catalog. default is catalog.json.

  • logger_properties (dict, optional) – A dictionary of properties for logger. default is None.

default_catalog_name: str#

Name of the main STAC catalog. default is catalog.json.

logger_properties: dict | None#

A dictionary of properties for logger. default is None. You can look at keys in Logger class.

stac_dir: str#

Directory of the main STAC catalog. It can be a relative or absolute path.