Compare commits
5 Commits
Author | SHA1 | Date | |
---|---|---|---|
2efa92f59c | |||
5eea239f3d | |||
30f6cdcbe2 | |||
6cb4f7210d | |||
a4b4a552fe |
@@ -4,6 +4,27 @@
|
||||
def main(catalog_file, mc_file, pdf_file, m_file, m_select, mag_label, mc, m_max,
|
||||
m_kde_method, xy_select, grid_dim, xy_win_method, rate_select, time_win_duration,
|
||||
forecast_select, custom_rate, forecast_len, time_unit, model, products_string, verbose):
|
||||
#catalog_file = 'LGCD_catalog_2024.mat'
|
||||
mc_file = None
|
||||
pdf_file = None
|
||||
m_file = None
|
||||
m_select = True
|
||||
mag_label = 'Mw'
|
||||
mc = 1.8
|
||||
m_max = 4.5
|
||||
m_kde_method = 'arviz-silverman'
|
||||
xy_select = True
|
||||
grid_dim = 5000
|
||||
xy_win_method = False
|
||||
rate_select = True
|
||||
time_win_duration = 100
|
||||
forecast_select = True
|
||||
custom_rate = None
|
||||
forecast_len = 100
|
||||
time_unit = 'days'
|
||||
model = 'Lasocki2013'
|
||||
products_string = 'PGA'
|
||||
verbose = True
|
||||
"""
|
||||
Python application that reads an earthquake catalog and performs seismic hazard forecasting.
|
||||
Arguments:
|
||||
@@ -454,7 +475,7 @@ verbose: {verbose}")
|
||||
|
||||
start = timer()
|
||||
|
||||
use_pp = False
|
||||
use_pp = True
|
||||
|
||||
if use_pp: # use dask parallel computing
|
||||
pbar = ProgressBar()
|
||||
|
Reference in New Issue
Block a user