Commit 09c7d98b authored by Sebastian Heimann's avatar Sebastian Heimann
Browse files

tutorial wip

parent 2f88f082
...@@ -8,9 +8,9 @@ First, install [Pyrocko](http://emolch.github.io/pyrocko/v0.3/install.html), ...@@ -8,9 +8,9 @@ First, install [Pyrocko](http://emolch.github.io/pyrocko/v0.3/install.html),
then install Lassie: then install Lassie:
```bash ```bash
git clone https://gitext.gfz-potsdam.de/heimann/lassie.git $ git clone https://gitext.gfz-potsdam.de/heimann/lassie.git
cd lassie $ cd lassie
sudo python setup.py install $ sudo python setup.py install
``` ```
## Tutorial: detecting events in a regional network ## Tutorial: detecting events in a regional network
...@@ -28,10 +28,10 @@ included. A region of roughly 100 x 100 km is covered by the available data. ...@@ -28,10 +28,10 @@ included. A region of roughly 100 x 100 km is covered by the available data.
```bash ```bash
# download data and unpack # download data and unpack
wget http://kinherd.org/lassie-example-alentejo.tar $ wget http://kinherd.org/lassie-example-alentejo.tar
tar -xf lassie-example-alentejo.tar $ tar -xf lassie-example-alentejo.tar
cd lassie-example-alentejo $ cd lassie-example-alentejo
ls $ ls
# data/ - raw waveforms in mseed format # data/ - raw waveforms in mseed format
# stations.txt - text file with station coordinates # stations.txt - text file with station coordinates
# confirmed-events.txt - catalog with some known events # confirmed-events.txt - catalog with some known events
...@@ -43,7 +43,7 @@ application which is part of [Pyrocko](http://emolch.github.io/pyrocko/) ...@@ -43,7 +43,7 @@ application which is part of [Pyrocko](http://emolch.github.io/pyrocko/)
([tutorial](http://http://emolch.github.io/pyrocko/current/snuffler_tutorial.html)). ([tutorial](http://http://emolch.github.io/pyrocko/current/snuffler_tutorial.html)).
```bash ```bash
snuffler --stations=stations.txt --events=confirmed-events.txt data/ $ snuffler --stations=stations.txt --events=confirmed-events.txt data/
``` ```
#### Hints, when preparing your own dataset #### Hints, when preparing your own dataset
...@@ -73,9 +73,9 @@ Lassie reads its configuration from a text file in the ...@@ -73,9 +73,9 @@ Lassie reads its configuration from a text file in the
configuration, run configuration, run
```bash ```bash
lassie init > config.yaml $ lassie init > config.yaml
# or filling in already the names of the stations file and the waveform directory: # or filling in already the names of the stations file and the waveform directory:
lassie init --stations=stations.txt --data=data > config.yaml $ lassie init --stations=stations.txt --data=data > config.yaml
``` ```
...@@ -173,7 +173,8 @@ phase. Such image function contributions (IFCs) can be defined under the ...@@ -173,7 +173,8 @@ phase. Such image function contributions (IFCs) can be defined under the
`image_function_contributions` key in Lassie's configuration. Different types `image_function_contributions` key in Lassie's configuration. Different types
of IFCs are available and can be combined. Here, we use the `WavePacketIFC` of IFCs are available and can be combined. Here, we use the `WavePacketIFC`
which applies a normalized envelope based pre-processing to the waveforms which applies a normalized envelope based pre-processing to the waveforms
before travel-time compensated stacking. before travel-time compensated stacking. The default values in the initial
config file should work for the Alentejo dataset.
#### Running the detector #### Running the detector
...@@ -186,6 +187,6 @@ HH:MM:SS.XXX'`, which override configuration settings. ...@@ -186,6 +187,6 @@ HH:MM:SS.XXX'`, which override configuration settings.
Now run the detector with Now run the detector with
```bash ```bash
lassie scan config.yaml $ lassie scan config.yaml
``` ```
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment