You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/calculations.md
+15-19Lines changed: 15 additions & 19 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -77,7 +77,7 @@ reia risk-assessment run docs/example/job.ini
77
77
This command will execute the risk assessment based on the parameters defined in the job configuration file. The results will be stored in the REIA engine and can be accessed or exported as needed.
78
78
79
79
### Specifying Calculations Separately
80
-
Alternatively you can specify the loss and damage calculation separately, or even run ensemble models. You can specify this accordingly in the run command.
80
+
Alternatively you can specify the loss and damage calculation separately, or even run ensemble models. You can specify this accordingly in the `run` command.
The gmfs are already sampled and in the final format as expected by OpenQuake.
112
-
113
-
### Alternative Hazard Source Options
114
-
You can also provide the ground motion fields via different options, as described below. An additional custon section `[hazard_source]` is added to specify the source type. The relevant hazard parameters stay the same:
115
-
98
+
You can also provide the ground motion fields via different options, as described below. The relevant hazard parameters stay the same:
Where the `intensity_measure_types` and `number_of_ground_motion_fields` are required to specify the used intensity measures and the number of ground motion fields to be generated, or already computed, from the provided hazard source.
127
110
111
+
An additional custon section `[hazard_source]` is added to specify the source type if an alternative to the CSV format is used as described in the following section.
112
+
113
+
### OpenQuake CSV format
114
+
The simplest way to provide hazard input data is via the `gmfs_csv` and `sites_csv` parameters in the job configuration file as shown above.
115
+
116
+
```ini
117
+
[hazard]
118
+
...
119
+
gmfs_csv = docs/example/gmfs.csv
120
+
sites_csv = docs/example/sites.csv
121
+
```
122
+
123
+
The gmfs are expected to be sampled and in the final format as expected by OpenQuake. No `[hazard_source]` section is required in this case.
128
124
129
125
### USGS ShakeMap XML format
130
126
You can also provide shakemaps in the USGS ShakeMap XML format, in the same manner as the CSV format above:
0 commit comments