|
|
To run ShakeMap, an event needs to be added to the data directory. The easiest way to create an event is to use the `sm_create` tool, which should be in your path if you are in the `shakemap` virtual environment. To create a data directory for the January 1994 Northridge earthquake, you would run the following command:
|
|
To run ShakeMap, an event needs to be added to the data directory. The easiest way to create an event is to use the `sm_create` tool, which should be in your path if you are in the `shakemap` virtual environment. To create a data directory for the January 1994 Northridge earthquake, you could run the following command:
|
|
|
```
|
|
```
|
|
|
sm_create ci3144585
|
|
sm_create ci3144585
|
|
|
```
|
|
```
|
| ... | @@ -6,6 +6,14 @@ where `ci3144585` is the ComCat event ID for the Northridge earthquake. The cor |
... | @@ -6,6 +6,14 @@ where `ci3144585` is the ComCat event ID for the Northridge earthquake. The cor |
|
|
|
|
|
|
|
https://earthquake.usgs.gov/earthquakes/eventpage/ci3144585
|
|
https://earthquake.usgs.gov/earthquakes/eventpage/ci3144585
|
|
|
|
|
|
|
|
|
OR
|
|
|
|
|
|
|
|
you could run the command
|
|
|
|
|
|
|
|
```
|
|
|
|
sm_create ci3144585 -e ci 1994-01-17T12:30:55 -118.546 34.211 19 6.6 "Northridge, California"
|
|
|
|
```
|
|
|
|
|
|
|
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, but it is followed by an event id (i.e., 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 like this
|
|
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, but it is followed by an event id (i.e., 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 like this
|
|
|
```
|
|
```
|
|
|
> shake -h
|
|
> shake -h
|
| ... | |
... | |
| ... | | ... | |