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
73e7e858
Commit
73e7e858
authored
3 years ago
by
Altekruse, Jason Morgan
Browse files
Options
Downloads
Patches
Plain Diff
updating links, cleanup
parent
a94f3e91
No related branches found
Branches containing commit
No related tags found
Tags containing commit
2 merge requests
!541
Production Release | nshmp-haz | nshmp-haz 2.0 ll Sprint
,
!529
documentation review
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
docs/README.md
+5
-5
5 additions, 5 deletions
docs/README.md
docs/pages/Building-&-Running.md
+10
-9
10 additions, 9 deletions
docs/pages/Building-&-Running.md
docs/pages/Magnitude-Frequency-Distributions.md
+4
-2
4 additions, 2 deletions
docs/pages/Magnitude-Frequency-Distributions.md
with
19 additions
and
16 deletions
docs/README.md
+
5
−
5
View file @
73e7e858
# Documentation: nshmp-haz
# Documentation: nshmp-haz
***nshmp-haz***
is a U
SGS developed software stack that supports probabilistic seismic hazard
***nshmp-haz***
is a U
.S. Geological Survey (
[
USGS
](
https://www.usgs.gov
)
) developed software stack
(PSHA) and related analyses. It is maintained by the
National Seismic Hazard Model Project
that supports probabilistic seismic hazard
(PSHA) and related analyses. It is maintained by the
(
[
NSHMP
](
https://earthquake.usgs.gov/hazards/
)
) within the
U.S. Geological Survey's
National Seismic Hazard Model Project
(
[
NSHMP
](
https://earthquake.usgs.gov/hazards/
)
) within the
(
[
USGS
](
https://www.usgs.gov
)
)
earthquake hazards program (
[
EHP
](
http://earthquake.usgs.gov
)
).
USGS
's
earthquake hazards program (
[
EHP
](
http://earthquake.usgs.gov
)
).
*nshmp-haz*
supports high performance seismic hazard calculations required to generate detailed
*nshmp-haz*
supports high performance seismic hazard calculations required to generate detailed
maps over large areas and supports a variety of USGS web services and applications related to
maps over large areas and supports a variety of USGS web services and applications related to
...
@@ -31,7 +31,7 @@ to use *nshmp-haz* as well as underlying model implementation details.
...
@@ -31,7 +31,7 @@ to use *nshmp-haz* as well as underlying model implementation details.
## Other Pages & References
## Other Pages & References
*
[
nshmp-lib
](
/ghsc/nshmp/nshmp-lib
)
: USGS hazard modeling library
*
[
nshmp-lib
](
https://code.usgs.gov
/ghsc/nshmp/nshmp-lib
)
: USGS hazard modeling library
*
[
Functional PSHA
](
pages/Functional-PSHA.md
)
*
[
Functional PSHA
](
pages/Functional-PSHA.md
)
*
[Probabilistic Seismic Hazard Analysis, a Primer
*
[Probabilistic Seismic Hazard Analysis, a Primer
[
PDF]
](
http://www.opensha.org/sites/opensha.org/files/PSHA_Primer_v2_0.pdf
)
[
PDF]
](
http://www.opensha.org/sites/opensha.org/files/PSHA_Primer_v2_0.pdf
)
...
...
This diff is collapsed.
Click to expand it.
docs/pages/Building-&-Running.md
+
10
−
9
View file @
73e7e858
...
@@ -40,15 +40,16 @@ measures. For example:
...
@@ -40,15 +40,16 @@ measures. For example:
java
-cp
path/to/nshmp-haz.jar gov.usgs.earthquake.nshmp.HazardCalc model sites
[
config]
java
-cp
path/to/nshmp-haz.jar gov.usgs.earthquake.nshmp.HazardCalc model sites
[
config]
```
```
At a minimum, the hazard source
[
model
](
h
azard-
m
odel
)
and the
[
site
](
s
ite-
s
pecification
)(
s
)
at
At a minimum, the hazard source
[
model
](
H
azard-
M
odel
.md
)
and the
[
site
](
S
ite-
S
pecification
.md
)(
s
)
at
which to perform calculations must be specified. The source model should specified a path to a
which to perform calculations must be specified. The source model should specified a path to a
directory. A single site may be specified with a string; multiple sites must be specified using
directory. A single site may be specified with a string; multiple sites must be specified using
either a comma-delimited (CSV) or
[
GeoJSON
](
http://geojson.org
)
file. The path to a custom
either a comma-delimited (CSV) or
[
GeoJSON
](
http://geojson.org
)
file. The path to a custom
[
configuration
](
c
alculation-
c
onfiguration
)
file containing user-specific settings may optionally
[
configuration
](
C
alculation-
C
onfiguration
.md
)
file containing user-specific settings may optionally
be supplied as a third argument. It can be used to override any calculation settings; if absent
be supplied as a third argument. It can be used to override any calculation settings; if absent
[
default
](
c
alculation-
c
onfiguration
)
values are used.
[
default
](
C
alculation-
C
onfiguration
.md
)
values are used.
See the
[
examples
](
/ghsc/nshmp/nshmp-haz-v2/-/tree/master/etc/examples
)
directory for more details.
See the
[
examples
](
https://code.usgs.gov/ghsc/nshmp/nshmp-haz-v2/-/tree/master/etc/examples
)
directory for more details.
### Computing Disaggregations
### Computing Disaggregations
...
@@ -62,7 +63,7 @@ java -cp nshmp-haz.jar gov.usgs.earthquake.nshmp.DisaggCalc model sites returnPe
...
@@ -62,7 +63,7 @@ java -cp nshmp-haz.jar gov.usgs.earthquake.nshmp.DisaggCalc model sites returnPe
Disaggregations build on and output
`HazardCalc`
results along with other disaggregation specific
Disaggregations build on and output
`HazardCalc`
results along with other disaggregation specific
files. Disaggregations also have some independent
files. Disaggregations also have some independent
[
configuration
](
c
alculation-
c
onfiguration#config-disagg
)
options.
[
configuration
](
C
alculation-
C
onfiguration
.md
#config-disagg
)
options.
## Run with [Docker](https://docs.docker.com/install/)
## Run with [Docker](https://docs.docker.com/install/)
...
@@ -112,17 +113,17 @@ Where: (TODO links below need checking)
...
@@ -112,17 +113,17 @@ Where: (TODO links below need checking)
*
hazard =
`HazardCalc`
*
hazard =
`HazardCalc`
*
rate =
`RateCalc`
*
rate =
`RateCalc`
*
`MODEL`
is the
[
USGS model (NSHM)
](
usgs-m
odels
)
to run:
*
`MODEL`
is the
[
USGS model (NSHM)
](
USGS-M
odels
.md
)
to run:
*
CONUS-2018:
[
Conterminous U.S. 2018
](
https://
github.com/usgs
/nshm-conus
)
*
CONUS-2018:
[
Conterminous U.S. 2018
](
https://
code.usgs.gov/ghsc/nshmp
/nshm-conus
)
*
HAWAII-2021:
[
Hawaii 2021
](
https://code.usgs.gov/ghsc/nshmp/nshm-hawaii
)
*
HAWAII-2021:
[
Hawaii 2021
](
https://code.usgs.gov/ghsc/nshmp/nshm-hawaii
)
*
`RETURN_PERIOD`
, in years, is only required when running a disaggregation
*
`RETURN_PERIOD`
, in years, is only required when running a disaggregation
*
Other arguments:
*
Other arguments:
*
(required) The absolute path to a GeoJSON or CSV
[
site(s)
](
s
ite-
s
pecification
)
file
*
(required) The absolute path to a GeoJSON or CSV
[
site(s)
](
S
ite-
S
pecification
.md
)
file
*
CSV example:
`$(pwd)/my-csv-sites.csv:/app/sites.csv`
*
CSV example:
`$(pwd)/my-csv-sites.csv:/app/sites.csv`
*
GeoJSON example:
`$(pwd)/my-geojson-sites.geojson:/app/sites.geojson`
*
GeoJSON example:
`$(pwd)/my-geojson-sites.geojson:/app/sites.geojson`
*
(optional) The absolute path to a
[
configuration
](
c
alculation-
c
onfiguration
)
file
*
(optional) The absolute path to a
[
configuration
](
C
alculation-
C
onfiguration
.md
)
file
*
Example:
`$(pwd)/my-custom-config.json:/app/config.json`
*
Example:
`$(pwd)/my-custom-config.json:/app/config.json`
*
(required) The absolute path to an output directory
*
(required) The absolute path to an output directory
*
Example:
`$(pwd)/my-hazard-output:/app/output`
*
Example:
`$(pwd)/my-hazard-output:/app/output`
...
...
This diff is collapsed.
Click to expand it.
docs/pages/Magnitude-Frequency-Distributions.md
+
4
−
2
View file @
73e7e858
...
@@ -48,6 +48,8 @@ tree of rates for a source is also present in a model. Example:
...
@@ -48,6 +48,8 @@ tree of rates for a source is also present in a model. Example:
## Tapered Gutenberg–Richter
## Tapered Gutenberg–Richter
TODO: Need a new link for tapered GR MFD
A
[
tapered Gutenberg-Richter
](
http://scec.ess.ucla.edu/~ykagan/moms_index.html
)
MFD is similar to
A
[
tapered Gutenberg-Richter
](
http://scec.ess.ucla.edu/~ykagan/moms_index.html
)
MFD is similar to
Gutenberg-Richter, above, but with an exponential taper applied with a corner magnitude of
`mCut`
.
Gutenberg-Richter, above, but with an exponential taper applied with a corner magnitude of
`mCut`
.
The
`a`
-value member is optional when a logic tree of rates for a source is also present in a
The
`a`
-value member is optional when a logic tree of rates for a source is also present in a
...
@@ -98,8 +100,6 @@ example:
...
@@ -98,8 +100,6 @@ example:
}
}
```
```
**mfd-config.json:**
MFD confguration files:
MFD confguration files:
*
mfd-map.json
*
mfd-map.json
...
@@ -255,6 +255,8 @@ Depending on the types of MFDs being modeled, a rate file may contain Gutenberg-
...
@@ -255,6 +255,8 @@ Depending on the types of MFDs being modeled, a rate file may contain Gutenberg-
or magnitude-specific rates. The branches of a rate-tree commonly have the generic ID's:
or magnitude-specific rates. The branches of a rate-tree commonly have the generic ID's:
`[R1, R2, R3, ...]`
to support matching rate-trees across source-tree branches.
`[R1, R2, R3, ...]`
to support matching rate-trees across source-tree branches.
TODO: convert example to JSON format (or see
`mfd-config.json`
section above)
```
xml
```
xml
<!-- (optional) A magnitude uncertainty model that will be
<!-- (optional) A magnitude uncertainty model that will be
applied to every source:
applied to every source:
...
...
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