<commit_before>
# The USGS API endpoint
USGS_API = "https://earthexplorer.usgs.gov/inventory/soap"

#
# Four catalogs are available for querying
#

CATALOG_NODES = ["CWIC", "EE", "HDDS", "LPVS"]

# http://lsiexplorer.cr.usgs.gov/
CWIC_LSI_EXPLORER_CATALOG_NODE = "CWIC"

# http://earthexplorer.usgs.gov/
EARTH_EXPLORER_CATALOG_NODE = "EE"

# http://hddsexplorer.usgs.gov/
HDDS_EXPLORER_CATALOG_NODE = "HDDS"

# http://lpvsexplorer.cr.usgs.gov/
LPVS_EXPLORER_CATALOG_NODE = "LPVS"

class USGSApiKeyRequiredError(Exception):
    pass

class USGSCatalogNodeDoesNotExist(Exception):
    pass

class USGSConnectionError(Exception):
    pass<commit_msg>add exception<commit_after>
# The USGS API endpoint
USGS_API = "https://earthexplorer.usgs.gov/inventory/soap"

#
# Four catalogs are available for querying
#

CATALOG_NODES = ["CWIC", "EE", "HDDS", "LPVS"]

# http://lsiexplorer.cr.usgs.gov/
CWIC_LSI_EXPLORER_CATALOG_NODE = "CWIC"

# http://earthexplorer.usgs.gov/
EARTH_EXPLORER_CATALOG_NODE = "EE"

# http://hddsexplorer.usgs.gov/
HDDS_EXPLORER_CATALOG_NODE = "HDDS"

# http://lpvsexplorer.cr.usgs.gov/
LPVS_EXPLORER_CATALOG_NODE = "LPVS"

class USGSApiKeyRequiredError(Exception):
    pass

class USGSCatalogNodeDoesNotExist(Exception):
    pass

class USGSConnectionError(Exception):
    pass

class USGSAmbiguousNode(Exception):
    pass
{'fraction_non_alphanumeric': 0.12462686567164179, 'fraction_numerical': 0.0, 'mean_word_length': 5.3254716981132075, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2047930', 'n_tokens_mistral': 576, 'n_tokens_neox': 573, 'n_words': 81}