-
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 #9016 from gem/years-store
Exporting AOP, EOP curves
- Loading branch information
Showing
42 changed files
with
2,962 additions
and
2,858 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
34 changes: 17 additions & 17 deletions
34
openquake/qa_tests_data/event_based_damage/case_11/expected/aggcurves-county-taxonomy.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 |
---|---|---|
@@ -1,17 +1,17 @@ | ||
#,,,,,"generated_by='OpenQuake engine 3.17.0-git237fc3d19f', start_date='2023-05-25T11:44:59', checksum=572001388, risk_investigation_time=1.0, num_events=4, effective_time=200.0, limit_states='ds1 ds2 ds3 ds4'" | ||
county,taxonomy,return_period,loss_type,losses_value,losses_ratio | ||
Contra Costa,tax1,50,structural,9.41111E+02,6.27408E-03 | ||
Contra Costa,tax1,100,structural,9.41111E+02,6.27408E-03 | ||
Contra Costa,tax1,200,structural,9.41111E+02,6.27408E-03 | ||
Contra Costa,tax3,50,structural,6.07736E+02,3.79835E-03 | ||
Contra Costa,tax3,100,structural,6.07736E+02,3.79835E-03 | ||
Contra Costa,tax3,200,structural,6.07736E+02,3.79835E-03 | ||
Marin,tax1,50,structural,9.41111E+02,6.27408E-03 | ||
Marin,tax1,100,structural,9.41111E+02,6.27408E-03 | ||
Marin,tax1,200,structural,9.41111E+02,6.27408E-03 | ||
Solano,tax1,50,structural,8.78371E+02,6.27408E-03 | ||
Solano,tax1,100,structural,8.78371E+02,6.27408E-03 | ||
Solano,tax1,200,structural,4.77793E+03,3.41281E-02 | ||
Solano,tax2,50,structural,1.77647E+03,7.40194E-03 | ||
Solano,tax2,100,structural,1.77647E+03,7.40194E-03 | ||
Solano,tax2,200,structural,1.86057E+03,7.75239E-03 | ||
#,,,,,,,,,"generated_by='OpenQuake engine 3.18.0-gitc771776529', start_date='2023-09-18T08:35:29', checksum=210043009, risk_investigation_time=1.0, num_events=4, effective_time=200.0, limit_states='ds1 ds2 ds3 ds4'" | ||
county,taxonomy,return_period,loss_type,loss_value,loss_ratio,loss_aep_value,loss_aep_ratio,loss_oep_value,loss_oep_ratio | ||
Contra Costa,tax1,50,structural,9.41111E+02,6.27408E-03,9.41111E+02,6.27408E-03,9.41111E+02,6.27408E-03 | ||
Contra Costa,tax1,100,structural,9.41111E+02,6.27408E-03,9.41111E+02,6.27408E-03,9.41111E+02,6.27408E-03 | ||
Contra Costa,tax1,200,structural,9.41111E+02,6.27408E-03,9.41111E+02,6.27408E-03,9.41111E+02,6.27408E-03 | ||
Contra Costa,tax3,50,structural,6.07736E+02,3.79835E-03,6.07736E+02,3.79835E-03,6.07736E+02,3.79835E-03 | ||
Contra Costa,tax3,100,structural,6.07736E+02,3.79835E-03,6.07736E+02,3.79835E-03,6.07736E+02,3.79835E-03 | ||
Contra Costa,tax3,200,structural,6.07736E+02,3.79835E-03,6.07736E+02,3.79835E-03,6.07736E+02,3.79835E-03 | ||
Marin,tax1,50,structural,9.41111E+02,6.27408E-03,9.41111E+02,6.27408E-03,9.41111E+02,6.27408E-03 | ||
Marin,tax1,100,structural,9.41111E+02,6.27408E-03,9.41111E+02,6.27408E-03,9.41111E+02,6.27408E-03 | ||
Marin,tax1,200,structural,9.41111E+02,6.27408E-03,9.41111E+02,6.27408E-03,9.41111E+02,6.27408E-03 | ||
Solano,tax1,50,structural,8.78371E+02,6.27408E-03,8.78371E+02,6.27408E-03,8.78371E+02,6.27408E-03 | ||
Solano,tax1,100,structural,8.78371E+02,6.27408E-03,8.78371E+02,6.27408E-03,8.78371E+02,6.27408E-03 | ||
Solano,tax1,200,structural,4.77793E+03,3.41281E-02,4.77793E+03,3.41281E-02,4.77793E+03,3.41281E-02 | ||
Solano,tax2,50,structural,1.77647E+03,7.40194E-03,1.77647E+03,7.40194E-03,1.77647E+03,7.40194E-03 | ||
Solano,tax2,100,structural,1.77647E+03,7.40194E-03,1.77647E+03,7.40194E-03,1.77647E+03,7.40194E-03 | ||
Solano,tax2,200,structural,1.86057E+03,7.75239E-03,1.86057E+03,7.75239E-03,1.86057E+03,7.75239E-03 |
4 changes: 2 additions & 2 deletions
4
openquake/qa_tests_data/event_based_damage/case_13/expected/aggcurves-.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
2 changes: 1 addition & 1 deletion
2
openquake/qa_tests_data/event_based_damage/case_13/expected/b_damages.txt
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
rlz_id return_period losses | ||
rlz_id return_period loss | ||
agg_id loss_id | ||
0 3 0 50 0.0 | ||
3 0 100 8.0 | ||
|
2 changes: 1 addition & 1 deletion
2
openquake/qa_tests_data/event_based_damage/case_13/expected/c_damages.txt
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
rlz_id return_period losses | ||
rlz_id return_period loss | ||
agg_id loss_id | ||
0 3 0 50 0.0 | ||
3 0 100 8.0 | ||
|
2 changes: 1 addition & 1 deletion
2
openquake/qa_tests_data/event_based_damage/case_13/expected/d_damages.txt
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
rlz_id return_period losses | ||
rlz_id return_period loss | ||
agg_id loss_id | ||
0 3 0 50 0.0 | ||
3 0 100 125.0 | ||
|
4 changes: 2 additions & 2 deletions
4
openquake/qa_tests_data/event_based_damage/case_14/expected/aggcurves-NAME.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
14 changes: 7 additions & 7 deletions
14
openquake/qa_tests_data/event_based_damage/case_15/expected/aggcurves-.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 |
---|---|---|
@@ -1,7 +1,7 @@ | ||
#,,,,,,"generated_by='OpenQuake engine 3.18.0-git3f93e21a24', start_date='2023-07-14T04:55:44', checksum=154880459, risk_investigation_time=1.0, num_events=16828, effective_time=10000.0, limit_states='moderate complete'" | ||
return_period,loss_type,rlz_id,fatalities_value,fatalities_ratio,losses_value,losses_ratio | ||
500,structural,0,2.78624E+02,5.45253E-02,1.26430E+06,1.06486E-01 | ||
500,structural,1,4.24553E+02,8.30827E-02,1.81472E+06,1.52845E-01 | ||
500,structural,2,4.95023E+02,9.68733E-02,1.85553E+06,1.56282E-01 | ||
500,structural,3,6.23238E+02,1.21964E-01,2.61005E+06,2.19831E-01 | ||
500,structural,4,3.60764E+02,7.05995E-02,1.91788E+06,1.61533E-01 | ||
#,,,,,,,,,,"generated_by='OpenQuake engine 3.18.0-gitc771776529', start_date='2023-09-18T08:49:35', checksum=2353089205, risk_investigation_time=1.0, num_events=16828, effective_time=10000.0, limit_states='moderate complete'" | ||
return_period,loss_type,rlz_id,fatalities_value,fatalities_ratio,loss_value,loss_ratio,loss_aep_value,loss_aep_ratio,loss_oep_value,loss_oep_ratio | ||
500,structural,0,2.78624E+02,5.45253E-02,1.26430E+06,1.06486E-01,1.26430E+06,1.06486E-01,1.26430E+06,1.06486E-01 | ||
500,structural,1,4.24553E+02,8.30827E-02,1.81472E+06,1.52845E-01,1.81472E+06,1.52845E-01,1.81472E+06,1.52845E-01 | ||
500,structural,2,4.95023E+02,9.68733E-02,1.85553E+06,1.56282E-01,1.85553E+06,1.56282E-01,1.85553E+06,1.56282E-01 | ||
500,structural,3,6.23238E+02,1.21964E-01,2.61005E+06,2.19831E-01,2.61005E+06,2.19831E-01,2.61005E+06,2.19831E-01 | ||
500,structural,4,3.60764E+02,7.05995E-02,1.91788E+06,1.61533E-01,1.91788E+06,1.61533E-01,1.91788E+06,1.61533E-01 |
62 changes: 45 additions & 17 deletions
62
openquake/qa_tests_data/event_based_risk/case_1/expected/agg_curves3.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 |
---|---|---|
@@ -1,17 +1,45 @@ | ||
+---------------+---------+--------+----------+---------+ | ||
| return_period | kind | policy | taxonomy | value | | ||
+---------------+---------+--------+----------+---------+ | ||
| 120 | rlz-000 | A | RC | 0.03578 | | ||
+---------------+---------+--------+----------+---------+ | ||
| 240 | rlz-000 | A | RC | 0.10181 | | ||
+---------------+---------+--------+----------+---------+ | ||
| 240 | rlz-001 | A | RC | 0.03919 | | ||
+---------------+---------+--------+----------+---------+ | ||
| 480 | rlz-000 | A | RC | 0.23541 | | ||
+---------------+---------+--------+----------+---------+ | ||
| 480 | rlz-001 | A | RC | 0.11574 | | ||
+---------------+---------+--------+----------+---------+ | ||
| 960 | rlz-000 | A | RC | 0.54103 | | ||
+---------------+---------+--------+----------+---------+ | ||
| 960 | rlz-001 | A | RC | 0.13667 | | ||
+---------------+---------+--------+----------+---------+ | ||
+---------+---------------+----------+--------+----------+---------+ | ||
| kind | return_period | ep_field | policy | taxonomy | value | | ||
+---------+---------------+----------+--------+----------+---------+ | ||
| rlz-000 | 120 | loss | A | RC | 0.03578 | | ||
+---------+---------------+----------+--------+----------+---------+ | ||
| rlz-000 | 120 | loss_oep | A | RC | 0.03578 | | ||
+---------+---------------+----------+--------+----------+---------+ | ||
| rlz-000 | 120 | loss_aep | A | RC | 0.03578 | | ||
+---------+---------------+----------+--------+----------+---------+ | ||
| rlz-000 | 240 | loss | A | RC | 0.10181 | | ||
+---------+---------------+----------+--------+----------+---------+ | ||
| rlz-000 | 240 | loss_oep | A | RC | 0.10181 | | ||
+---------+---------------+----------+--------+----------+---------+ | ||
| rlz-000 | 240 | loss_aep | A | RC | 0.10181 | | ||
+---------+---------------+----------+--------+----------+---------+ | ||
| rlz-000 | 480 | loss | A | RC | 0.23541 | | ||
+---------+---------------+----------+--------+----------+---------+ | ||
| rlz-000 | 480 | loss_oep | A | RC | 0.23541 | | ||
+---------+---------------+----------+--------+----------+---------+ | ||
| rlz-000 | 480 | loss_aep | A | RC | 0.23541 | | ||
+---------+---------------+----------+--------+----------+---------+ | ||
| rlz-000 | 960 | loss | A | RC | 0.54103 | | ||
+---------+---------------+----------+--------+----------+---------+ | ||
| rlz-000 | 960 | loss_oep | A | RC | 0.54103 | | ||
+---------+---------------+----------+--------+----------+---------+ | ||
| rlz-000 | 960 | loss_aep | A | RC | 0.54103 | | ||
+---------+---------------+----------+--------+----------+---------+ | ||
| rlz-001 | 240 | loss | A | RC | 0.03919 | | ||
+---------+---------------+----------+--------+----------+---------+ | ||
| rlz-001 | 240 | loss_oep | A | RC | 0.03919 | | ||
+---------+---------------+----------+--------+----------+---------+ | ||
| rlz-001 | 240 | loss_aep | A | RC | 0.03919 | | ||
+---------+---------------+----------+--------+----------+---------+ | ||
| rlz-001 | 480 | loss | A | RC | 0.11574 | | ||
+---------+---------------+----------+--------+----------+---------+ | ||
| rlz-001 | 480 | loss_oep | A | RC | 0.11574 | | ||
+---------+---------------+----------+--------+----------+---------+ | ||
| rlz-001 | 480 | loss_aep | A | RC | 0.11574 | | ||
+---------+---------------+----------+--------+----------+---------+ | ||
| rlz-001 | 960 | loss | A | RC | 0.13667 | | ||
+---------+---------------+----------+--------+----------+---------+ | ||
| rlz-001 | 960 | loss_oep | A | RC | 0.13667 | | ||
+---------+---------------+----------+--------+----------+---------+ | ||
| rlz-001 | 960 | loss_aep | A | RC | 0.13667 | | ||
+---------+---------------+----------+--------+----------+---------+ |
Oops, something went wrong.