Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

adding all models #10346

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 3 additions & 5 deletions openquake/engine/global_ses.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@

4. by default the script samples 2000 realizations with 50 SES per logic tree path,
with an investigation time of 1, i.e. 100,000 years with a minimum magnitude of 5.
Such parameters are currently hard-coded by easily changeable in the script itself.

After the file ruptures.hdf5 has been generated, it can be used in
event based calculations by simply setting in the job.ini
Expand Down Expand Up @@ -74,10 +73,9 @@


MODELS = sorted('''
ALS AUS CEA EUR HAW KOR NEA PHL ARB IDN MEX NWA PNG SAM TWN
CAN CHN IND MIE NZL SEA USA ZAF CCA JPN NAF PAC SSA WAF
ALS AUS CEA EUR HAW KOR NEA PHL ARB IDN MEX NWA PNG SAM TWN GLD
CAN CHN IND MIE NZL SEA USA ZAF CCA JPN NAF PAC SSA WAF USA ZAF
'''.split()) # GLD is missing
MODELS = 'KOR'.split()

dt = [('model', '<S3'), ('trt', '<S61'), ('gsim', hdf5.vstr), ('weight', float)]

Expand All @@ -93,7 +91,7 @@ def check_imts(dicts, models):
if imts1 != imts0:
raise ValueError(f'{imts1} != {imts0} for {model}')


s
def read_job_inis(mosaic_dir, models, INPUTS):
out = []
rows = []
Expand Down
Loading