| Package | Description |
|---|---|
| gov.usgs.earthquake.nshmp.calc |
Hazard calculation classes and utilties.
|
| gov.usgs.earthquake.nshmp.eq.model |
Earthquake
Source and
HazardModel representations. |
| gov.usgs.earthquake.nshmp.gmm |
Implementations of all
GroundMotionModels used in the 2008 and
2014 USGS National Seismic Hazard Models. |
| Modifier and Type | Method and Description |
|---|---|
CalcConfig |
CalcConfig.Builder.build()
Build a new calculation configuration.
|
CalcConfig |
Hazard.config()
The original configuration used to generate this result.
|
| Modifier and Type | Method and Description |
|---|---|
static Callable<EqRate> |
EqRate.callable(HazardModel model,
CalcConfig config,
Site site)
Wraps
EqRate.create(HazardModel, CalcConfig, Site) in a Callable
for processing multiple sites concurrently. |
static CalcConfig.Builder |
CalcConfig.Builder.copyOf(CalcConfig config)
Initialize a new builder with values copied from the supplied config.
|
static EqRateExport |
EqRateExport.create(CalcConfig config,
Sites sites,
Logger log)
Create a new results handler.
|
static HazardExport |
HazardExport.create(CalcConfig config,
Sites sites,
Logger log)
Create a new results handler.
|
static EqRate |
EqRate.create(HazardModel model,
CalcConfig config,
Site site)
Create a new earthquake rate data container at a
site for the
supplied model and config. |
static Sites |
Sites.fromCsv(Path path,
CalcConfig defaults)
Create an unmodifiable
Iterable<Site> from the comma-delimted site
file designated by path. |
static Sites |
Sites.fromCsv(Path path,
CalcConfig defaults,
boolean lenient) |
static Sites |
Sites.fromJson(Path path,
CalcConfig defaults)
Create an unmodifiable
Iterable<Site> from the GeoJSON site file
designated by path. |
static Sites |
Sites.fromString(String s,
CalcConfig defaults)
Create an unmodifiable singleton
Iterable<Site> from the supplied
string. |
static Hazard |
HazardCalcs.hazard(HazardModel model,
CalcConfig config,
Site site,
Executor exec)
Compute probabilistic seismic hazard curves at a
site using the
supplied model and config. |
| Modifier and Type | Method and Description |
|---|---|
CalcConfig |
HazardModel.config()
Return the default calculation configuration.
|
| Modifier and Type | Method and Description |
|---|---|
abstract GmmPostProcessor |
GmmPostProcessor.Model.instance(CalcConfig config)
Create an instance of the post processor.
|