csep.load_catalog

csep.load_catalog(filename, type='csep-csv', format='native', loader=None, **kwargs)[source]

General function to load single catalog

See corresponding class documentation for additional parameters.

Parameters
  • type (str) – (‘ucerf3’, ‘csep-csv’, ‘zmap’, ‘jma-csv’, ‘ndk’) default is ‘csep-csv’

  • format (str) – (‘native’, ‘csep’) determines whether the catalog should be converted into the csep formatted catalog or kept as native.

Returns (AbstractBaseCatalog)