Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
N
nshmp-haz
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
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-haz
Commits
7882ac1b
Commit
7882ac1b
authored
4 months ago
by
Clayton, Brandon Scott
Browse files
Options
Downloads
Patches
Plain Diff
remove method
parent
d8acf281
No related branches found
No related tags found
1 merge request
!800
Site
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/main/java/gov/usgs/earthquake/nshmp/www/ServletUtil.java
+0
-14
0 additions, 14 deletions
src/main/java/gov/usgs/earthquake/nshmp/www/ServletUtil.java
with
0 additions
and
14 deletions
src/main/java/gov/usgs/earthquake/nshmp/www/ServletUtil.java
+
0
−
14
View file @
7882ac1b
...
...
@@ -28,10 +28,8 @@ import com.google.gson.JsonSerializer;
import
gov.usgs.earthquake.nshmp.calc.Site
;
import
gov.usgs.earthquake.nshmp.calc.ValueFormat
;
import
gov.usgs.earthquake.nshmp.geo.Location
;
import
gov.usgs.earthquake.nshmp.gmm.Imt
;
import
gov.usgs.earthquake.nshmp.model.HazardModel
;
import
gov.usgs.earthquake.nshmp.model.SiteData
;
import
gov.usgs.earthquake.nshmp.www.meta.MetaUtil
;
import
io.micronaut.context.annotation.Value
;
...
...
@@ -189,18 +187,6 @@ public class ServletUtil {
return
new
Server
(
threads
,
timer
);
}
public
static
Site
createSite
(
Location
location
,
double
vs30
,
SiteData
siteData
)
{
Site
.
Builder
builder
=
Site
.
builder
()
.
location
(
location
)
.
vs30
(
vs30
);
SiteData
.
Values
sdValues
=
siteData
.
get
(
location
);
sdValues
.
z1p0
.
ifPresent
(
builder:
:
z1p0
);
sdValues
.
z2p5
.
ifPresent
(
builder:
:
z2p5
);
sdValues
.
zSed
.
ifPresent
(
builder:
:
zSed
);
builder
.
gmmTrees
(
sdValues
.
gmmTrees
);
return
builder
.
build
();
}
public
static
class
Server
{
final
int
threads
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment