csep.load_stochastic_event_sets
- csep.load_stochastic_event_sets(filename, type='csv', format='native', **kwargs)[source]
General function to load stochastic event sets
This function returns a generator to iterate through a collection of catalogs. To load a forecast and include metadata use
csep.load_catalog_forecast()
.- Parameters:
filename (str) – name of file or directory where stochastic event sets live.
type (str) – either ‘ucerf3’ or ‘csep’ depending on the type of observed_catalog to load
format (str) – (‘csep’ or ‘native’) if native catalogs are not converted to csep format.
kwargs (dict) – see the documentation of that class corresponding to the type you selected for the kwargs options
- Returns:
- Return type:
(generator)