Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
N
nshmp-lib
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ghsc
National Seismic Hazard Model Project
nshmp-lib
Merge requests
!272
Site and NGA-East edits
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Site and NGA-East edits
ghsc/users/pmpowers/nshmp-lib:site-ngae-edits
into
main
Overview
0
Commits
3
Pipelines
0
Changes
3
Merged
Powers, Peter M.
requested to merge
ghsc/users/pmpowers/nshmp-lib:site-ngae-edits
into
main
2 years ago
Overview
0
Commits
3
Pipelines
0
Changes
3
Expand
fix for sparse margin zSed data
fix for gulf coast amp implementation
0
0
Merge request reports
Compare
main
main (base)
and
latest version
latest version
c2aaecde
3 commits,
2 years ago
3 files
+
19
−
19
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
3
Search (e.g. *.vue) (Ctrl+P)
src/main/java/gov/usgs/earthquake/nshmp/gmm/ChapmanGuo_2021.java
+
3
−
3
Options
@@ -34,7 +34,7 @@ class ChapmanGuo_2021 {
Imt
.
mprsImts
().
toArray
(
new
Imt
[
0
]));
static
final
double
VS_REF
=
1000.0
;
static
final
double
Z_CUT
=
0.
5
;
static
final
double
Z_CUT
=
0.
2
;
private
static
final
double
[]
Z
=
{
0.0
,
0.1
,
0.2
,
0.3
,
0.4
,
0.6
,
0.8
,
@@ -81,12 +81,12 @@ class ChapmanGuo_2021 {
/**
* Return the depth scaling factor for application of reference site scaling.
* Curently set to 0.0 at z = 0.0 km and 1.0 at z = 0.5 km.
*
* @param z sediment depth (in km)
*/
static
double
zSiteScale
(
double
z
)
{
return
Math
.
min
(
1.0
,
z
/
Z_CUT
);
double
s
=
1.0
-
Math
.
exp
(-
z
/
Z_CUT
);
return
s
*
s
*
s
*
s
;
}
/**
Loading