diff --git a/etc/examples/4-hazard-map/README.md b/etc/examples/4-hazard-map/README.md index 023b1f6be12eaecd95d21675573d96cabc8a4ba8..da3708ea2464aa03afd53985b33b5b0486f02543 100644 --- a/etc/examples/4-hazard-map/README.md +++ b/etc/examples/4-hazard-map/README.md @@ -4,7 +4,7 @@ __Working directory:__ `/path/to/nshmp-haz/etc/examples/4-hazard-map` A hazard map is just a collection of values plucked from a lot of hazard curves. To compute curves at reqularly spaced intervals in latitude and longitude over a region, -a [GeoJSON site file](https://github.com/usgs/nshmp-haz/wiki/sites#geojson-format-geojson) +a [GeoJSON site file](../../../docs/pages/Site-Specification.md#geojson-format-geojson) may instead specify a polygon and a site spacing. ```Shell diff --git a/etc/examples/5-complex-model/README.md b/etc/examples/5-complex-model/README.md index 67bd53ae3eb03a622a4bfcd2c5ab58cffce73a5b..15616984654db3a8cc073e4fdb6c110cdea49a1c 100644 --- a/etc/examples/5-complex-model/README.md +++ b/etc/examples/5-complex-model/README.md @@ -4,9 +4,9 @@ __Working directory:__ `/path/to/nshmp-haz/etc/examples/5-complex-model` Most PSHAs involve the use of more complex source models, the components of which might use different ground motion models. For this and ensuing examples, we'll use the -2018 USGS National Seismic Hazard Model (NSHM) for the western U.S. `nshmp-haz` uses an -in-memory source model. The USGS NSHMs are quite large, so it's helpful to increase the amount -memory available to Java when calling `HazardCalc`. For example, set your alias to: +USGS National Seismic Hazard Model (NSHM) for the Conterminous U.S (CONUS). `nshmp-haz` +uses an in-memory source model. The USGS NSHMs are quite large, so it's helpful to increase +the amount memory available to Java when calling `HazardCalc`. For example, set your alias to: ```Shell alias hazard='java -Xms4g -Xmx8g -cp /path/to/nshmp-haz/build/libs/nshmp-haz.jar gov.usgs.earthquake.nshmp.HazardCalc' @@ -15,19 +15,14 @@ alias hazard='java -Xms4g -Xmx8g -cp /path/to/nshmp-haz/build/libs/nshmp-haz.jar This will increase the minimum amount of memory Java requires to 4GB and will allow it to claim up to 8GB, assuming that much is available. -First, clone the USGS CONUS NSHM repository and checkout the 2018 CONUS NSHM tag. Assuming you -are in the current working directory (above), the following will create a copy of the model -adjacent to nshmp-haz: +First, clone the CONUS NSHM repository. Assuming you are in the current working directory +(above), the following will create a copy of the model adjacent to nshmp-haz: ```Shell git clone https://code.usgs.gov/ghsc/nshmp/nshms/nshm-conus.git ../../../../nshm-conus -# git checkout tags/5.1.0 -b 2018_CONUS_NSHM ``` -TODO: checkout tag for nshm-conus-2018 release (current 5.1.0 tag does not load) - -To compute hazard for a few sites in the Western U.S. at 1.0s and 2.0s -spectral periods, execute: +To compute hazard for a few sites at 1.0s and 2.0s spectral periods, execute: ```Shell hazard ../../../../nshm-conus sites.geojson config-sites.json diff --git a/etc/examples/6-enhanced-output/README.md b/etc/examples/6-enhanced-output/README.md index 92fb486d7901b187284ea0cab64fe7574e389049..83f0ed2b5d80fdf1330b6af8f7f1d4753ff31bff 100644 --- a/etc/examples/6-enhanced-output/README.md +++ b/etc/examples/6-enhanced-output/README.md @@ -4,7 +4,7 @@ __Working directory:__ `/path/to/nshmp-haz/etc/examples/6-enhanced-output` While mean hazard is of broad interest, it can be useful to preserve individual components of a total curve, particularly with more complex models. Execute the following to write curves for -each source type and ground motion model (GMM) used in the 2018 NSHM (cloned in the previous +each source type and ground motion model (GMM) used in the CONUS NSHM (cloned in the previous example): ```Shell diff --git a/etc/examples/8-probabilities/README.md b/etc/examples/8-probabilities/README.md index c8586fbee54525f8e7674d665cf27fec01a92f50..dd696daf712266f9c74a3669a7689dd50e53baba 100644 --- a/etc/examples/8-probabilities/README.md +++ b/etc/examples/8-probabilities/README.md @@ -16,7 +16,7 @@ For this example, the following system alias is helpful: alias rate='java -Xms4g -Xmx8g -cp /path/to/nshmp-haz/build/libs/nshmp-haz.jar gov.usgs.earthquake.nshmp.RateCalc' ``` -Assuming a copy of the 2018 USGS NSHM is available (see [Example 5](../5-complex-model)), execute: +Assuming a copy of the CONUS NSHM is available (see [Example 5](../5-complex-model)), execute: ```Shell rate ../../../../nshm-conus sites.csv config-sites.json @@ -41,11 +41,19 @@ __Results directory structure:__ ├─ hazout-rate-sites/ │ ├─ config.json │ ├─ RateCalc.log - │ └─ rates.csv + │ ├─ rates.csv + │ └─ source/ + │ ├─ FAULT/ + │ │ └─ probs.csv + │ └─ ... └─ hazout-prob-map/ ├─ config.json ├─ RateCalc.log └─ probs.csv + └─ source/ + ├─ FAULT/ + │ └─ rates.csv + └─ ... ``` ---