% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/buildGMDP.R
\name{buildGMDP}
\alias{buildGMDP}
\title{Build Ground-Motion Design Parameters (GMDP)}
\usage{
buildGMDP(
  path,
  IDo = "GEM",
  engine = "openquake",
  vref = 760,
  TRo = c(100, 200, 500, 1000, 2000, 2500, 5000, 10000)
)
}
\arguments{
\item{path}{Character. Directory with hazard data files.}

\item{IDo}{Character. Identifier for the GMDP. Default \code{"gmdp"}.}

\item{engine}{Character. \code{"openquake"} (default) or \code{"user"}.}

\item{vref}{Numeric. Reference Vs30 (m/s). Default 760.}

\item{TRo}{Numeric vector. Target return periods (years).}
}
\value{
A named list with \code{AEPTable}, \code{UHSTable}, and \code{RMwTable}
(\code{NULL} if disaggregation is unavailable).
}
\description{
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.
}
\examples{
\dontrun{
# Requires an 'OpenQuake' Engine output directory containing classical
# PSHA + disaggregation ZIPs; not bundled with the package.
out <- buildGMDP(path = "path/to/openquake/output", vref = 760)
}
}
