openquake.hme.core.coreΒΆ
Core functions for running Hamlet.
The functions here read the configuration file, then load all of the model inputs (seismic sources, observed earthquake catalog, etc.), run the tests, and write the output.
Functions
|
|
|
Reads through the cfg and makes a dict of lists of tests or evaluations to run for each framework. |
|
Loads all of the inputs specified by the cfg and returns a tuple of |
|
Loads the observed earthquake catalog into a GeoDataFrame that has all of the earthquakes processed into |
|
Loads the prospective earthquake catalog into a GeoDataFrame that has all of the earthquakes processed into |
|
Reads a flat file with ruptures. |
|
Reads a seismic source model, processes it, and returns a GeoDataFrame with the ruptures. |
|
|
|
Reads a model test configuration file (YAML). |
|
Main Hamlet function. |
|
Run evaluations independently for each logic tree branch. |
|
|
|
Write JSON output for iterate mode with all branches. |
|
go through and write test-specific results, trash can function |
|
Writes reports summarizing the results of the tests and evaluations. |