csep.load_catalog

csep.load_catalog(filename, type='csep-csv', format='native', loader=None, apply_filters=False, **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.

  • apply_filters (bool) – if true, will apply filters and spatial filter to catalog. time-varying magnitude completeness will still need to be applied. filters kwarg should be included. see catalog documentation for more details.

Returns (AbstractBaseCatalog)