Skip to content

Commit 000d91a

Browse files
committed
updated documentation for scripts
1 parent 9f6d062 commit 000d91a

File tree

1 file changed

+60
-18
lines changed

1 file changed

+60
-18
lines changed

docs/scripts.rst

+60-18
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,7 @@ Usage
4444
are requested from the internet using the client services framework. The
4545
stations are processed one by one and the data are stored to disk.
4646
47-
positional arguments:
48-
indb Station Database to process from.
49-
50-
optional arguments:
47+
options:
5148
-h, --help show this help message and exit
5249
--keys STKEYS Specify a comma separated list of station keys for
5350
which to perform the analysis. These must be contained
@@ -59,20 +56,38 @@ Usage
5956
-v, -V, --verbose Specify to increase verbosity.
6057
-O, --overwrite Force the overwriting of pre-existing data. [Default
6158
False]
59+
--zcomp ZCOMP Specify the Vertical Component Channel Identifier.
60+
[Default Z].
61+
-L, --long-name Force folder names to use long-key form (NET.STN.CHN).
62+
Default behaviour uses short key form (NET.STN) for
63+
the folder names, regardless of the key type of the
64+
database.
6265
6366
Server Settings:
6467
Settings associated with which datacenter to log into.
6568
66-
-S SERVER, --Server SERVER
67-
Specify the server to connect to. Options include:
68-
BGR, ETH, GEONET, GFZ, INGV, IPGP, IRIS, KOERI, LMU,
69-
NCEDC, NEIP, NERIES, ODC, ORFEUS, RESIF, SCEDC, USGS,
70-
USP. [Default IRIS]
71-
-U USERAUTH, --User-Auth USERAUTH
72-
Enter your IRIS Authentification Username and Password
73-
(--User-Auth='username:authpassword') to access and
74-
download restricted data. [Default no user and
75-
password]
69+
--server SERVER Base URL of FDSN web service compatible server (e.g.
70+
“http://service.iris.edu”) or key string for
71+
recognized server (one of 'AUSPASS', 'BGR',
72+
'EARTHSCOPE', 'EIDA', 'EMSC', 'ETH', 'GEOFON',
73+
'GEONET', 'GFZ', 'ICGC', 'IESDMC', 'INGV', 'IPGP',
74+
'IRIS', 'IRISPH5', 'ISC', 'KNMI', 'KOERI', 'LMU',
75+
'NCEDC', 'NIEP', 'NOA', 'NRCAN', 'ODC', 'ORFEUS',
76+
'RASPISHAKE', 'RESIF', 'RESIFPH5', 'SCEDC', 'TEXNET',
77+
'UIB-NORSAR', 'USGS', 'USP'). [Default 'IRIS']
78+
--user-auth USERAUTH Authentification Username and Password for the
79+
waveform server (--user-auth='username:authpassword')
80+
to access and download restricted data. [Default no
81+
user and password]
82+
--eida-token TOKENFILE
83+
Token for EIDA authentication mechanism, see
84+
http://geofon.gfz-
85+
potsdam.de/waveform/archive/auth/index.php. If a token
86+
is provided, argument --user-auth will be ignored.
87+
This mechanism is only available on select EIDA nodes.
88+
The token can be provided in form of the PGP message
89+
as a string, or the filename of a local file with the
90+
PGP message in it. [Default None]
7691
7792
Local Data Settings:
7893
Settings associated with defining and using a local data base of pre-
@@ -84,6 +99,11 @@ Usage
8499
exists for a seismogram is already present on disk, it
85100
is selected preferentially over downloading the data
86101
using the Client interface
102+
--dtype DTYPE Specify the data archive file type, either SAC or
103+
MSEED. Note the default behaviour is to search for SAC
104+
files. Local archive files must have extensions of
105+
'.SAC' or '.MSEED. These are case dependent, so
106+
specify the correct casehere.
87107
--no-data-zero Specify to force missing data to be set as zero,
88108
rather than default behaviour which sets to nan.
89109
--no-local-net Specify to prevent using the Network code in the
@@ -209,6 +229,11 @@ Usage
209229
network [Default processes all stations in the
210230
database]
211231
-v, -V, --verbose Specify to increase verbosity.
232+
-L, --long-name Force folder names to use long-key form (NET.STN.CHN).
233+
Default behaviour uses short key form (NET.STN) for the
234+
folder names, regardless of the key type of the
235+
database.
236+
212237
213238
Parameter Settings:
214239
Miscellaneous default values and settings
@@ -262,7 +287,7 @@ Usage
262287

263288
.. code-block::
264289
265-
$ rfpy_recalc -h
290+
$ rfpy_plot -h
266291
267292
#################################################
268293
# __ _ _ #
@@ -293,6 +318,10 @@ Usage
293318
-v, -V, --verbose Specify to increase verbosity.
294319
-O, --overwrite Force the overwriting of pre-existing figures.
295320
[Default False]
321+
-L, --long-name Force folder names to use long-key form (NET.STN.CHN).
322+
Default behaviour uses short key form (NET.STN) for
323+
the folder names, regardless of the key type of the
324+
database.
296325
297326
Pre-processing Settings:
298327
Options for pre-processing of receiver function data before plotting
@@ -306,7 +335,7 @@ Usage
306335
--no-outlier Set this option to delete outliers based on the MAD on
307336
the variance. [Default False]
308337
--binlim BINLIM Specify the minimum number of RFs in each bin.
309-
[Default 3]
338+
[Default 1]
310339
--bp BP Specify the corner frequencies for the bandpass
311340
filter. [Default no filtering]
312341
--pws Set this option to use phase-weighted stacking during
@@ -400,6 +429,10 @@ Usage
400429
-v, -V, --verbose Specify to increase verbosity.
401430
-O, --overwrite Force the overwriting of pre-existing data. [Default
402431
False]
432+
-L, --long-name Force folder names to use long-key form (NET.STN.CHN).
433+
Default behaviour uses short key form (NET.STN) for
434+
the folder names, regardless of the key type of the
435+
database.
403436
404437
Time Settings:
405438
Settings associated with refining the times to include in searching for
@@ -446,7 +479,7 @@ Usage
446479
filtered at different corners for the Pps and Pss
447480
phases. [Default False]
448481
--bp-copy BP_COPY Specify a list of two floats with minimum and
449-
maximumfrequency for the copies stream (Hz). [Default
482+
maximumfrequency for the copied stream (Hz). [Default
450483
[0.05, 0.35]]
451484
452485
Settings for H-k Stacking:
@@ -535,6 +568,9 @@ Usage
535568
-v, -V, --verbose Specify to increase verbosity.
536569
-O, --overwrite Force the overwriting of pre-existing data. [Default
537570
False]
571+
-L, --long-name Force folder names to use long-key form (NET.STN.CHN).
572+
Default behaviour uses short key form (NET.STN) for the
573+
folder names, regardless of the key type of the database.
538574
539575
Time Settings:
540576
Settings associated with refining the times to include in searching for
@@ -563,6 +599,8 @@ Usage
563599
functions. [Default None]
564600
--no-outlier Set this option to delete outliers based on the MAD on
565601
the variance. [Default False]
602+
--phase PHASE Specify the phase name to plot. Options are 'P', 'PP',
603+
'allP', 'S', 'SKS' or 'allS'. [Default 'allP']
566604
567605
Settings for harmonic decomposition:
568606
Specify parameters for the decomposition, e.g. a fixed azimuth, depth
@@ -654,7 +692,11 @@ Usage
654692
-v, -V, --verbose Specify to increase verbosity.
655693
-O, --overwrite Force the overwriting of pre-existing data. [Default
656694
False]
657-
695+
-L, --long-name Force folder names to use long-key form (NET.STN.CHN).
696+
Default behaviour uses short key form (NET.STN) for the
697+
folder names, regardless of the key type of the
698+
database.
699+
658700
Line Geometry Settings:
659701
Options for defining the line along which to produce the CCP image
660702

0 commit comments

Comments
 (0)