-
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 remote-tracking branch 'origin/master' into no-circular
- Loading branch information
Showing
20 changed files
with
338 additions
and
72 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
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
Empty file.
7 changes: 7 additions & 0 deletions
7
openquake/qa_tests_data/scenario_damage/case_22/consequences.csv
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,7 @@ | ||
taxonomy,consequence,loss_type,slight,moderate,extreme,complete | ||
Concrete,losses,structural,0.04,0.31,0.6,1 | ||
Wood,losses,structural,0.04,0.31,0.6,1 | ||
Concrete,losses,liquefaction,0,0,0,1 | ||
Wood,losses,liquefaction,0,0,0,1 | ||
Concrete,losses,landslide,0,0,0,1 | ||
Wood,losses,landslide,0,0,0,1 |
5 changes: 5 additions & 0 deletions
5
openquake/qa_tests_data/scenario_damage/case_22/expected/aggrisk.csv
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,5 @@ | ||
#,,,,,,,"generated_by='OpenQuake engine 3.22.0-gitff750fe4b4', start_date='2024-10-21T11:16:00', checksum=2624933730, investigation_time=None, risk_investigation_time=None" | ||
loss_type,no_damage,slight,moderate,extreme,complete,losses_value,losses_ratio | ||
structural,1.06701E+01,1.41803E+00,1.39786E+00,9.49061E-01,5.64993E-01,1.84217E+04,1.08299E-01 | ||
liquefaction,1.26268E+01,0.00000E+00,0.00000E+00,0.00000E+00,2.37321E+00,0.00000E+00,nan | ||
landslide,9.00000E+00,0.00000E+00,0.00000E+00,0.00000E+00,6.00000E+00,0.00000E+00,nan |
16 changes: 16 additions & 0 deletions
16
openquake/qa_tests_data/scenario_damage/case_22/exposure_model.csv
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,16 @@ | ||
id,lon,lat,number,structural,night,taxonomy,NAME_1 | ||
a1,83.31382,29.46117,1,11340,5,Wood1,a | ||
a2,83.31382,29.23617,1,11340,5,Wood1,a | ||
a3,83.53882,29.08617,1,11340,5,Wood1,a | ||
a4,80.68882,28.93617,1,11340,5,Wood1,a | ||
a5,83.53882,29.01117,1,11340,5,Wood1,a | ||
a6,81.13882,28.78617,1,11340,5,Wood1,a | ||
a7,83.98882,28.48617,1,11340,5,Wood1,a | ||
a8,83.23882,29.38617,1,11340,5,Concrete1,a | ||
a9,83.01382,29.08617,1,11340,5,Concrete1,a | ||
a10,83.31382,28.71117,1,11340,5,Concrete1,a | ||
a11,86.91382,27.73617,1,11340,5,Concrete1,a | ||
a12,83.16382,29.31117,1,11340,5,Concrete1,a | ||
a13,80.61382,28.93617,1,11340,5,Concrete1,a | ||
a14,83.91382,29.01117,1,11340,5,Concrete1,a | ||
a15,82.03882,30.28617,1,11340,5,Concrete1,a |
27 changes: 27 additions & 0 deletions
27
openquake/qa_tests_data/scenario_damage/case_22/exposure_model.xml
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,27 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<nrml | ||
xmlns="http://openquake.org/xmlns/nrml/0.5" | ||
xmlns:gml="http://www.opengis.net/gml" | ||
> | ||
<exposureModel | ||
category="buildings" | ||
id="ex1" | ||
taxonomySource="GEM taxonomy" | ||
> | ||
<description /> | ||
<conversions> | ||
<costTypes> | ||
<costType name="structural" type="per_asset" unit="USD"/> | ||
</costTypes> | ||
</conversions> | ||
<occupancyPeriods> | ||
night | ||
</occupancyPeriods> | ||
<tagNames> | ||
NAME_1 | ||
</tagNames> | ||
<assets> | ||
exposure_model.csv | ||
</assets> | ||
</exposureModel> | ||
</nrml> |
19 changes: 19 additions & 0 deletions
19
openquake/qa_tests_data/scenario_damage/case_22/fault_rupture.xml
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,19 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<nrml xmlns:gml="http://www.opengis.net/gml" xmlns="http://openquake.org/xmlns/nrml/0.4"> | ||
<simpleFaultRupture> | ||
<magnitude>7.0</magnitude> | ||
<rake>90</rake> | ||
<hypocenter lat="27.6" lon="84.4" depth="30.0"/> | ||
<simpleFaultGeometry> | ||
<gml:LineString> | ||
<gml:posList> | ||
85.0 27.3 | ||
83.8 27.8 | ||
</gml:posList> | ||
</gml:LineString> | ||
<dip>30.0</dip> | ||
<upperSeismoDepth>20.0</upperSeismoDepth> | ||
<lowerSeismoDepth>50.0</lowerSeismoDepth> | ||
</simpleFaultGeometry> | ||
</simpleFaultRupture> | ||
</nrml> |
Oops, something went wrong.