-
Notifications
You must be signed in to change notification settings - Fork 277
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #8931 from gem/missingtag
Give a better error message in case aggregate_by is not in the tags
- Loading branch information
Showing
7 changed files
with
89 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
56 changes: 56 additions & 0 deletions
56
openquake/qa_tests_data/event_based_risk/case_1/job_missing_occupancy.ini
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
[general] | ||
random_seed = 23 | ||
master_seed = 42 | ||
description = Event Based Risk QA Test 1 | ||
calculation_mode = event_based_risk | ||
structural_vulnerability_file = vulnerability_model_stco.xml | ||
nonstructural_vulnerability_file = vulnerability_model_nonstco.xml | ||
exposure_file = exposure1.zip | ||
discard_assets = true | ||
aggregate_by = occupancy | ||
|
||
region = 81.1 26, 88 26, 88 30, 81.1 30 | ||
|
||
asset_hazard_distance = 20 | ||
|
||
conditional_loss_poes = 0.1 | ||
|
||
quantiles = 0.25 | ||
|
||
avg_losses = true | ||
|
||
sites = 81.2985 29.1098, 83.082298 27.9006, 85.747703 27.9015 | ||
|
||
[logic_tree] | ||
|
||
number_of_logic_tree_samples = 0 | ||
|
||
[erf] | ||
|
||
# km | ||
rupture_mesh_spacing = 5 | ||
width_of_mfd_bin = 0.3 | ||
# km | ||
area_source_discretization = 10 | ||
|
||
[site_params] | ||
|
||
reference_vs30_type = measured | ||
reference_vs30_value = 760.0 | ||
reference_depth_to_2pt5km_per_sec = 5.0 | ||
reference_depth_to_1pt0km_per_sec = 100.0 | ||
|
||
[calculation] | ||
source_model_logic_tree_file = source_model_logic_tree.xml | ||
gsim_logic_tree_file = gmpe_logic_tree.xml | ||
# years | ||
investigation_time = 50.0 | ||
ses_per_logic_tree_path = 20 | ||
truncation_level = 3 | ||
# km | ||
maximum_distance = 100.0 | ||
return_periods = [30, 60, 120, 240, 480, 960] | ||
individual_rlzs = true | ||
|
||
[output] | ||
export_dir = /tmp |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters