Skip to contents

Assembles an annual-exceedance-probability (AEP) table, uniform-hazard-spectrum (UHS) table, and–where available–a magnitude-distance disaggregation table, using OpenQuake or user-supplied hazard files.

Usage

buildGMDP(
  path,
  IDo = "GEM",
  engine = "openquake",
  vref = 760,
  TRo = c(100, 200, 500, 1000, 2000, 2500, 5000, 10000)
)

Arguments

path

Character. Directory with hazard data files.

IDo

Character. Identifier for the GMDP. Default "gmdp".

engine

Character. "openquake" (default) or "user".

vref

Numeric. Reference Vs30 (m/s). Default 760.

TRo

Numeric vector. Target return periods (years).

Value

A named list with AEPTable, UHSTable, and RMwTable (NULL if disaggregation is unavailable).

Examples

if (FALSE) { # \dontrun{
out <- buildGMDP(path = "path/to/openquake/output", vref = 760)
} # }