Skip to content
Snippets Groups Projects

Code review 479

Merged Powers, Peter M. requested to merge ghsc/users/pmpowers/nshmp-haz:code-review-479 into main
1 file
+ 5
4
Compare changes
  • Side-by-side
  • Inline
@@ -59,16 +59,17 @@ See the [examples](../../etc/examples) directory for more details (or
@@ -59,16 +59,17 @@ See the [examples](../../etc/examples) directory for more details (or
### Computing Disaggregations
### Computing Disaggregations
Like `HazardCalc`, the `DisaggCalc` program performs disaggregations at one or more sites for a
Like `HazardCalc`, the `DisaggCalc` program performs disaggregations at one or more sites for a
variety of intensity measures, but requires an additional `returnPeriod` argument, in years. For
variety of intensity measures. The return period for the disaggregation is defined in the config,
example:
see [`disagg.returnPeriod`]()./Calculation-Configuration.md#calculation-configuration-parameters).
 
Example:
```bash
```bash
java -cp nshmp-haz.jar gov.usgs.earthquake.nshmp.DisaggCalc model sites returnPeriod [config]
java -cp nshmp-haz.jar gov.usgs.earthquake.nshmp.DisaggCalc model sites [config]
```
```
Disaggregations build on and output `HazardCalc` results along with other disaggregation specific
Disaggregations build on and output `HazardCalc` results along with other disaggregation specific
files. Disaggregations also have some independent
files. Disaggregations also have some independent
[configuration](./Calculation-Configuration.md#config-disagg) options.
[configuration](./Calculation-Configuration.md#calculation-configuration-parameters) options.
## Run with [Docker](https://docs.docker.com/install/)
## Run with [Docker](https://docs.docker.com/install/)
Loading