compass.pipeline.collection.persistence.load_collection_manifest_jurisdictions#

async load_collection_manifest_jurisdictions(manifest_fp, expected_tech)[source]#

Load jurisdictions from one or more collection manifest(s)

Parameters:
  • manifest_fp (path-like or list of path-like) – Path to the collection manifest file to be loaded. Can be a single path or a list of paths, any of which may include glob patterns.

  • expected_tech (str) – Technology specified in the pipeline request, used to validate compatibility with the manifest.

Returns:

dict – Mapping of FIPS codes to jurisdiction infos from the collection manifest(s).

Raises:

COMPASSValueError – If a duplicate jurisdiction is found in the manifest(s).