Skip to content

Commit 5811d6f

Browse files
committed
fixed atacr scripts and docs
1 parent f4b2a0e commit 5811d6f

File tree

2 files changed

+38
-12
lines changed

2 files changed

+38
-12
lines changed

Diff for: docs/atacr.rst

+24-8
Original file line numberDiff line numberDiff line change
@@ -243,20 +243,26 @@ Usage
243243
correction. [Default looks for both horizontal and
244244
pressure and allows for both tilt AND compliance
245245
corrections]
246+
--zcomp ZCOMP Specify the Vertical Component Channel Identifier.
247+
[Default Z].
246248
-O, --overwrite Force the overwriting of pre-existing data. [Default
247249
False]
248250
249251
Server Settings:
250252
Settings associated with which datacenter to log into.
251253
252-
-S SERVER, --Server SERVER
254+
-S SERVER, --server SERVER
253255
Specify the server to connect to. Options include:
254256
BGR, ETH, GEONET, GFZ, INGV, IPGP, IRIS, KOERI, LMU,
255257
NCEDC, NEIP, NERIES, ODC, ORFEUS, RESIF, SCEDC, USGS,
256258
USP. [Default IRIS]
257-
-U USERAUTH, --User-Auth USERAUTH
258-
Enter your IRIS Authentification Username and Password
259-
(--User-Auth='username:authpassword') to access and
259+
--server-url SERVER_URL
260+
Specify the obspy base_url server address (and port if
261+
needed) to open for the fdsn client. Overrides any
262+
settings to '--server'. [Default None]
263+
-U USERAUTH, --user-auth USERAUTH
264+
Enter your Authentification Username and Password
265+
(--user-auth='username:authpassword') to access and
260266
download restricted data. [Default no user and
261267
password]
262268
@@ -572,20 +578,26 @@ Usage
572578
correction. [Default looks for both horizontal and
573579
pressure and allows for both tilt AND compliance
574580
corrections]
581+
--zcomp ZCOMP Specify the Vertical Component Channel Identifier.
582+
[Default Z].
575583
-O, --overwrite Force the overwriting of pre-existing data. [Default
576584
False]
577585
578586
Server Settings:
579587
Settings associated with which datacenter to log into.
580588
581-
-S SERVER, --Server SERVER
589+
-S SERVER, --server SERVER
582590
Specify the server to connect to. Options include:
583591
BGR, ETH, GEONET, GFZ, INGV, IPGP, IRIS, KOERI, LMU,
584592
NCEDC, NEIP, NERIES, ODC, ORFEUS, RESIF, SCEDC, USGS,
585593
USP. [Default IRIS]
586-
-U USERAUTH, --User-Auth USERAUTH
587-
Enter your IRIS Authentification Username and Password
588-
(--User-Auth='username:authpassword') to access and
594+
--server-url SERVER_URL
595+
Specify the obspy base_url server address (and port if
596+
needed) to open for the fdsn client. Overrides any
597+
settings to '--server'. [Default None]
598+
-U USERAUTH, --user-auth USERAUTH
599+
Enter your Authentification Username and Password
600+
(--user-auth='username:authpassword') to access and
589601
download restricted data. [Default no user and
590602
password]
591603
@@ -599,6 +611,10 @@ Usage
599611
--pre-filt PRE_FILT Specify four comma-separated corner frequencies
600612
(float, in Hz) for deconvolution pre-filter. [Default
601613
0.001,0.005,45.,50.]
614+
--window WINDOW Specify window length in seconds. Default value is
615+
highly recommended. Program may not be stable for
616+
large deviations from default value. [Default 7200.
617+
(or 2 hours)]
602618
603619
Event Settings:
604620
Settings associated with refining the events to include in matching

Diff for: obstools/scripts/atacr_download_event.py

+14-4
Original file line numberDiff line numberDiff line change
@@ -117,16 +117,26 @@ def get_event_arguments(argv=None):
117117
type=str,
118118
dest="server",
119119
default="IRIS",
120-
help="Specify the server to connect to. Options include: BGR, " +
121-
"ETH, GEONET, GFZ, INGV, IPGP, IRIS, KOERI, LMU, NCEDC, NEIP, " +
122-
"NERIES, ODC, ORFEUS, RESIF, SCEDC, USGS, USP. [Default IRIS]")
120+
help="Specify the server to connect to. Options include: " +
121+
"BGR, ETH, GEONET, GFZ, INGV, IPGP, IRIS, KOERI, LMU, NCEDC, " +
122+
"NEIP, NERIES, ODC, ORFEUS, RESIF, SCEDC, USGS, USP. " +
123+
"[Default IRIS]")
124+
ServerGroup.add_argument(
125+
"--server-url",
126+
action="store",
127+
type=str,
128+
dest="server_url",
129+
default=None,
130+
help="Specify the obspy base_url server address (and port if needed) " +
131+
"to open for the fdsn client. Overrides any settings to '--server'. " +
132+
"[Default None]")
123133
ServerGroup.add_argument(
124134
"-U", "--user-auth",
125135
action="store",
126136
type=str,
127137
dest="userauth",
128138
default="",
129-
help="Enter your IRIS Authentification Username and Password " +
139+
help="Enter your Authentification Username and Password " +
130140
"(--user-auth='username:authpassword') to access and download " +
131141
"restricted data. [Default no user and password]")
132142

0 commit comments

Comments
 (0)