CA_subreg_path_calc: The subroutine of CA subregional path correction

View source: R/bssa_2014_nga.R

CA_subreg_path_calcR Documentation

The subroutine of CA subregional path correction

Description

This is a subroutine of CA subregional path correction

Usage

CA_subreg_path_calc(site_lon, site_lat, clst_lon, clst_lat)

Arguments

site_lon

The longitude of site (in WGS84 degree).

site_lat

The latitude of site (in WGS84 degree).

clst_lon

Longitude (in WGS84 degrees) of closest point on the surface projection of the rupture surface to the site.

clst_lat

Latitude (in WGS84 degrees) of closest point on the surface projection of the rupture surface to the site.

Value

A list of three elements: 1) the site-to-source distance; 2) the distances of the path within each CA subregion; and 3) the CA subregion index where the source is.

Examples

CA_subreg_path_calc(site_lon = -118.8713, site_lat = 35.80407, clst_lon = -116.9274, clst_lat = 33.6204)

wltcwpf/GMPE documentation built on July 27, 2024, 4:28 p.m.