@@ -20,18 +20,43 @@ It can either scan an existing earthquake catalog to search for similar events,
20
20
or perform template matching on a continuous waveform stream.
21
21
22
22
Catalogs and waveforms can be read from local files or downloaded using
23
- standard [ FDSN web services] ( https://www.fdsn.org/webservices/ ) .
23
+ standard [ FDSN web services] .
24
24
25
- Requake is written in Python and uses [ ObsPy] ( https://obspy.org ) as backend.
25
+ Requake is written in Python and uses [ ObsPy] as backend.
26
26
27
27
## Installation
28
28
29
29
### Installing the latest release
30
30
31
- #### Using pip and PyPI (preferred method)
31
+ #### Using Anaconda
32
32
33
- The latest release of Requake is available on the
34
- [ Python Package Index] ( https://pypi.org/project/requake/ ) .
33
+ The following command will automatically create an [ Anaconda] environment
34
+ named ` requake ` , install the required packages and install the latest
35
+ version of SourceSpec via ` pip ` :
36
+
37
+ conda env create --file https://raw.githubusercontent.com/SeismicSource/requake/main/requake_conda_env.yml
38
+
39
+ If you want a different name for your environment, use:
40
+
41
+ conda env create -n YOUR_ENV_NAME --file https://raw.githubusercontent.com/SeismicSource/requake/main/requake_conda_env.yml
42
+
43
+ Activate the environment with:
44
+
45
+ conda activate requake
46
+
47
+ (or ` conda activate YOUR_ENV_NAME ` )
48
+
49
+ To keep Requake updated run the following command from within the environment:
50
+
51
+ pip install --upgrade requake
52
+
53
+ Or, to switch to a development snapshot, run:
54
+
55
+ pip install git+https://github.com/SeismicSource/requake.git
56
+
57
+ #### Using pip and PyPI
58
+
59
+ The latest release of Requake is available on the [ Python Package Index] .
35
60
36
61
You can install it easily through ` pip ` :
37
62
@@ -41,8 +66,7 @@ You can install it easily through `pip`:
41
66
42
67
If you need a recent feature that is not in the latest release (see the
43
68
` unreleased ` section in [ CHANGELOG] [ changelog-link ] ), you want to use the more
44
- recent development snapshot from the
45
- [ Requake GitHub repository] ( https://github.com/SeismicSource/requake ) .
69
+ recent development snapshot from the [ Requake GitHub repository] .
46
70
47
71
#### Using pip
48
72
@@ -114,9 +138,14 @@ Certain commands (e.g., `plot_pair`) require further arguments (use, e.g.,
114
138
` requake plot_pair -h ` to get help).
115
139
116
140
Requake supports command line tab completion for commands and arguments, thanks
117
- to [ argcomplete] ( https://kislyuk.github.io/argcomplete/ ) .
118
- To enable command line tab completion, add the following line to your ` .bashrc `
119
- or ` .zshrc ` :
141
+ to [ argcomplete] .
142
+ To enable command line tab completion run:
143
+
144
+ activate-global-python-argcomplete
145
+
146
+ (This is a one-time command that needs to be run only once).
147
+
148
+ Or, alternatively, add the following line to your ` .bashrc ` or ` .zshrc ` :
120
149
121
150
eval "$(register-python-argcomplete requake)"
122
151
@@ -182,6 +211,14 @@ You can also cite the following abstract presented at the
182
211
[ changelog-link ] : https://github.com/SeismicSource/requake/blob/main/CHANGELOG.md
183
212
[ DOI-badge ] : https://zenodo.org/badge/DOI/10.5281/zenodo.10832204.svg
184
213
[ DOI-link ] : https://doi.org/10.5281/zenodo.10832204
214
+ [ Requake GitHub repository ] : https://github.com/SeismicSource/requake
215
+
216
+ <!-- External links -->
217
+ [ FDSN web services ] : https://www.fdsn.org/webservices/
218
+ [ ObsPy ] : https://obspy.org
219
+ [ Anaconda ] : https://www.anaconda.com/download
220
+ [ Python Package Index ] : https://pypi.org/project/requake/
221
+ [ argcomplete ] : https://kislyuk.github.io/argcomplete/
185
222
186
223
<!-- References -->
187
224
[ doi: 10.5281/ZENODO.10832204 ] : https://doi.org/10.5281/ZENODO.10832204
0 commit comments