public class HazardCalc extends Object
HazardModel.| Modifier and Type | Field and Description |
|---|---|
static String |
VERSION
The Git application version.
|
| Constructor and Description |
|---|
HazardCalc() |
| Modifier and Type | Method and Description |
|---|---|
static void |
main(String[] args)
Entry point for a probabilisitic seismic hazard calculation.
|
public static final String VERSION
public static void main(String[] args)
Computing hazard curves requires at least 2, and at most 3, arguments. At a minimum, the path to a model zip file or directory and the site(s) at which to perform calculations must be specified. Under the 2-argument scenario, model initialization and calculation configuration settings are drawn from the config file that must reside at the root of the model directory. Sites may be defined as a string, a CSV file, or a GeoJSON file.
To override any default or calculation configuration settings included with the model, supply the path to another configuration file as a third argument.
Please refer to the nshmp-haz wiki for comprehensive descriptions of source models, configuration files, site files, and hazard calculations.