| ... | ... | @@ -23,7 +23,7 @@ where the `-e` flag tells sm_create to gather origin information from the comman |
|
|
|
|
|
|
|
This version of the command will only create an event.xml file.
|
|
|
|
|
|
|
|
The programs for running ShakeMap are all managed by the command [shake](http://usgs.github.io/shakemap/programs/shake.html). The basic idea is that you will call `shake`, which has a number of optional arguments, followed by an event id (the name of the event directory in the data directory) **and then the names of the modules that you want to run for that event**. You can get help in a terminal by typing:
|
|
|
|
The programs for running ShakeMap are all managed by the command [shake](http://usgs.github.io/shakemap/programs/shake.html). The basic idea is that you will call `shake`, which has a number of optional arguments, followed by an event id (the name of the event directory in the data directory) and then the names of the modules that you want to run for that event. You can get help in a terminal by typing:
|
|
|
|
```
|
|
|
|
> shake -h
|
|
|
|
```
|
| ... | ... | @@ -60,7 +60,7 @@ Available modules: |
|
|
|
- select - Parse STREC output, make a GMPE set, create model_zc.conf.
|
|
|
|
- stations -- Generate stationlist.json from shake_result.hdf.
|
|
|
|
```
|
|
|
|
\
|
|
|
|
|
|
|
|
A simple call to organize the input data for the 'ci3144585' event into the HDF input file would be:
|
|
|
|
```
|
|
|
|
> shake ci3144585 assemble
|
| ... | ... | @@ -76,7 +76,6 @@ Once a comment is entered, assemble will finish running. |
|
|
|
INFO ; 2018-02-09 11:43:24 ; shake.main ; Finished running command assemble: Elapsed 0.14 secs
|
|
|
|
```
|
|
|
|
The `assemble` module alone is not all that useful _unless_ you want to read in and inspect the HDF file, called [shake_data.hdf](http://usgs.github.io/shakemap/manual4_0/tg_formats.html#shake-data-hdf). `shake_result.hdf` is a binary data structure for efficiently storing all of the inputs and results of the ShakeMap software and is the most fundamental data file from which all other outputs are created. Other modules called by `shake` extract information from this file and convert the results to more convenient formats.
|
|
|
|
\
|
|
|
|
\
|
|
|
|
\
|
|
|
|
|
|
|
|
---
|
|
|
|
Next step: [Model](https://github.com/usgs/shakemap/wiki/model) |
|
|
\ No newline at end of file |