1.1.1.1.1. insupdel4stac.analysers.existance_validator module#

class insupdel4stac.analysers.existance_validator.ExistenceValidator(stac_dir: str = '/home/docs/checkouts/readthedocs.org/user_builds/insupdel4stac/checkouts/latest/docs', default_catalog_name: str = 'catalog.json', collection_id: str | None = None)[source]#

Bases: object

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

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.

catalog_existance()[source]#

This function verifies the existence of the main STAC catalog.

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.