csep.core.catalogs.CSEPCatalog.load_ascii_catalogs

classmethod CSEPCatalog.load_ascii_catalogs(filename, **kwargs)[source]

Loads multiple catalogs in csep-ascii format.

This function can load multiple catalogs stored in a single file. This typically called to load a catalog-based forecast, but could also load a collection of catalogs stored in the same file

Parameters:
  • filename (str) – filepath or directory of catalog files

  • **kwargs (dict) – passed to class constructor

Returns:

yields CSEPCatalog class