Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
N
nshmp-ws-static
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-ws-static
Commits
1cf7f7d2
Commit
1cf7f7d2
authored
2 years ago
by
Clayton, Brandon Scott
Browse files
Options
Downloads
Patches
Plain Diff
Add nshm
parent
6c40de2e
No related branches found
No related tags found
2 merge requests
!128
Production Release | nshmp-ws-static
,
!127
Resolves - Handle Multiple NetCDF Files for AASHTO Service
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/hazard/src/main/java/gov/usgs/earthquake/nshmp/netcdf/NetcdfHazardCurves.java
+10
-0
10 additions, 0 deletions
.../gov/usgs/earthquake/nshmp/netcdf/NetcdfHazardCurves.java
with
10 additions
and
0 deletions
src/hazard/src/main/java/gov/usgs/earthquake/nshmp/netcdf/NetcdfHazardCurves.java
+
10
−
0
View file @
1cf7f7d2
...
@@ -23,8 +23,18 @@ import ucar.nc2.dataset.NetcdfDatasets;
...
@@ -23,8 +23,18 @@ import ucar.nc2.dataset.NetcdfDatasets;
*/
*/
public
class
NetcdfHazardCurves
extends
Netcdf
<
StaticDataHazardCurves
>
{
public
class
NetcdfHazardCurves
extends
Netcdf
<
StaticDataHazardCurves
>
{
private
final
Nshm
nshm
;
public
NetcdfHazardCurves
(
Path
netcdfPath
)
{
public
NetcdfHazardCurves
(
Path
netcdfPath
)
{
super
(
netcdfPath
);
super
(
netcdfPath
);
nshm
=
Nshm
.
valueOf
(
netcdfData
().
scienceBaseMetadata
().
catalogId
);
}
/**
* Returns the NSHM
*/
public
Nshm
nshm
()
{
return
nshm
;
}
}
@Override
@Override
...
...
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