提交 cd6c1482 编辑于 作者: Mijian Xu's avatar Mijian Xu 😷
浏览文件

Add a user manual

上级 a821831d
......@@ -41809,3 +41809,227 @@
2015 4 15 105 8 25 12 34.860000 32.310000 10.000000 5.291208
2015 4 15 105 10 22 8 -3.850000 151.680000 10.000000 5.486188
2015 4 16 106 18 7 43 35.140000 26.820000 20.000000 6.093012
2015 4 17 107 15 52 52 -15.91 -178.59 10.0 6.5
2015 4 20 110 1 42 59 24.19 122.33 29.0 6.4
2015 4 20 110 9 5 32 -5.72 102.49 10.0 5.6
2015 4 20 110 11 45 14 24.07 122.46 29.0 6.0
2015 4 20 110 12 0 0 24.07 122.51 29.0 6.1
2015 4 21 111 19 0 18 -14.60 -71.11 119.1 5.6
2015 4 22 112 22 57 16 -12.02 166.42 72.0 6.3
2015 4 24 114 1 34 56 40.40 -127.25 10.0 5.5
2015 4 24 114 3 36 43 -42.06 173.00 55.0 6.1
2015 4 24 114 13 56 16 51.77 -130.70 10.0 6.2
2015 4 25 115 6 11 26 28.13 84.65 15.0 7.9
2015 4 25 115 6 45 21 28.19 84.86 14.6 6.6
2015 4 26 116 7 9 10 27.78 86.00 17.3 6.7
2015 4 26 116 23 35 29 -8.31 -79.83 14.7 5.4
2015 4 28 118 16 39 39 -20.87 -178.64 579.3 6.1
2015 4 28 118 18 56 54 17.14 -94.97 112.2 5.5
2015 4 30 120 10 19 8 -60.40 -26.85 10.0 5.8
2015 4 30 120 10 45 5 -5.39 151.82 48.9 6.7
2015 5 1 121 8 6 5 -5.20 151.80 57.0 6.8
2015 5 2 122 16 50 47 31.59 140.17 32.5 5.7
2015 5 3 123 22 32 42 -5.55 151.72 35.0 5.6
2015 5 3 123 23 40 56 -5.51 151.94 35.1 5.2
2015 5 4 124 2 29 11 -44.53 168.86 10.0 5.6
2015 5 4 124 12 24 10 -61.29 154.15 12.3 5.4
2015 5 5 125 1 44 5 -5.47 151.89 42.0 7.5
2015 5 5 125 8 16 58 -5.52 152.22 42.8 5.3
2015 5 5 125 20 53 23 -15.37 67.24 22.0 5.3
2015 5 7 127 7 10 22 -7.23 154.55 23.2 7.1
2015 5 7 127 11 33 0 -7.06 154.38 10.0 5.5
2015 5 8 128 3 12 20 1.55 97.87 34.4 5.9
2015 5 8 128 7 52 6 -6.16 149.83 36.9 5.3
2015 5 9 129 9 42 37 -5.71 152.25 12.6 5.5
2015 5 9 129 11 14 28 -5.85 151.61 42.0 5.4
2015 5 10 130 0 50 18 14.87 -93.99 6.7 5.6
2015 5 10 130 21 25 46 31.25 142.38 18.0 5.6
2015 5 11 131 11 51 21 -7.22 154.38 39.0 5.5
2015 5 12 132 7 5 19 27.84 86.08 15.0 7.3
2015 5 12 132 7 36 54 27.62 86.17 15.0 6.3
2015 5 12 132 21 12 59 38.90 142.03 38.9 6.8
2015 5 15 135 10 30 38 -9.70 150.35 32.4 5.5
2015 5 15 135 20 26 56 -2.65 102.18 149.9 5.8
2015 5 16 136 11 34 10 27.55 86.07 10.0 5.7
2015 5 17 137 8 52 40 -12.13 165.73 30.2 5.4
2015 5 18 138 4 2 45 -41.67 80.25 10.0 5.5
2015 5 18 138 17 4 52 -7.16 154.40 8.1 5.8
2015 5 19 139 13 54 56 -18.61 168.51 50.7 5.8
2015 5 19 139 15 25 22 -54.30 -132.11 12.1 6.5
2015 5 20 140 0 30 52 -19.30 -175.46 180.3 6.0
2015 5 20 140 3 31 42 38.66 70.15 11.2 5.5
2015 5 20 140 17 20 44 1.79 126.44 49.3 5.5
2015 5 20 140 22 48 53 -10.89 164.16 12.0 6.8
2015 5 21 141 19 32 57 -9.78 160.33 5.0 5.7
2015 5 22 142 21 45 19 -11.07 163.68 9.9 6.9
2015 5 22 142 23 59 34 -11.15 163.20 10.0 6.8
2015 5 23 143 19 28 18 -4.84 152.60 50.5 5.9
2015 5 24 144 4 53 23 -16.83 -14.19 10.0 6.3
2015 5 24 144 14 39 3 -19.33 -175.95 35.0 5.7
2015 5 24 144 21 6 41 -59.65 -26.37 36.6 5.8
2015 5 25 145 4 48 24 -6.43 154.97 70.8 5.5
2015 5 25 145 16 20 32 -34.86 -103.85 15.7 4.8
2015 5 26 146 10 32 1 -22.07 -68.44 115.1 5.7
2015 5 26 146 16 42 36 -0.35 135.72 44.2 5.3
2015 5 26 146 23 41 41 -58.72 -25.23 35.0 5.3
2015 5 29 149 7 0 9 56.59 -156.43 55.6 6.7
2015 5 29 149 8 40 13 -47.36 100.00 10.0 5.1
2015 5 30 150 11 23 3 27.83 140.49 677.6 7.8
2015 5 30 150 17 18 40 -15.74 -173.32 50.8 5.8
2015 5 30 150 18 49 7 30.74 142.97 8.7 6.2
2015 6 1 152 6 52 41 44.44 -129.77 10.0 5.8
2015 6 1 152 10 46 28 44.55 -129.54 10.0 5.5
2015 6 1 152 20 11 32 44.49 -129.85 10.0 5.9
2015 6 4 155 23 15 44 6.01 116.56 10.0 6.0
2015 6 5 156 14 54 1 -37.15 78.13 10.0 5.0
2015 6 5 156 20 2 55 -34.86 -107.54 11.9 5.0
2015 6 8 159 6 1 9 41.46 141.95 44.3 6.2
2015 6 9 160 0 16 48 -56.50 -143.50 10.0 5.4
2015 6 9 160 6 41 39 -35.23 -105.85 10.0 4.9
2015 6 10 161 8 33 3 39.64 143.36 26.0 5.5
2015 6 10 161 13 52 9 -22.41 -68.33 121.6 6.0
2015 6 11 162 4 45 30 39.63 143.46 10.0 5.7
2015 6 11 162 4 51 24 39.62 143.32 10.0 5.4
2015 6 11 162 4 56 32 39.63 143.23 10.0 5.3
2015 6 12 163 11 7 6 -15.69 -173.06 41.0 6.0
2015 6 13 164 3 17 30 -24.60 -176.35 77.2 5.1
2015 6 13 164 7 8 59 -3.24 143.84 10.0 5.6
2015 6 15 166 17 40 54 -9.73 125.29 23.4 5.7
2015 6 15 166 21 4 25 4.19 125.88 143.3 5.4
2015 6 16 167 6 17 1 -20.41 -178.91 653.0 6.0
2015 6 17 168 12 51 33 -35.36 -17.39 10.0 7.0
2015 6 18 169 7 28 56 -19.14 169.60 30.6 5.1
2015 6 20 171 2 10 6 -36.33 -73.82 10.0 6.4
2015 6 20 171 5 32 16 -59.62 -26.61 116.9 5.6
2015 6 20 171 23 39 10 -23.56 -177.10 157.9 5.9
2015 6 21 172 21 28 17 -20.46 -178.35 561.4 6.0
2015 6 23 174 8 59 55 -19.66 -175.21 124.4 5.6
2015 6 23 174 12 18 30 27.67 139.79 455.9 6.3
2015 6 24 175 22 32 20 61.73 -151.99 104.9 5.7
2015 6 25 176 15 41 20 -10.41 152.05 31.4 5.1
2015 6 25 176 18 45 57 -32.08 -178.14 10.0 6.0
2015 6 27 178 7 28 54 -48.99 121.43 10.0 5.1
2015 6 27 178 15 34 2 29.02 34.70 11.1 5.2
2015 6 28 179 1 5 29 26.62 90.44 26.0 5.5
2015 6 29 180 9 9 16 -16.01 -74.21 23.7 5.5
2015 6 29 180 22 7 48 36.69 71.28 189.5 5.5
2015 6 30 181 3 39 29 -5.45 151.60 35.0 6.0
2015 7 1 182 14 30 22 -52.21 159.61 10.0 5.7
2015 7 1 182 19 35 21 -10.99 162.56 8.9 5.8
2015 7 2 183 7 26 50 -34.69 -16.18 10.0 5.7
2015 7 3 184 1 7 48 37.46 78.12 20.0 6.4
2015 7 3 184 3 16 36 11.44 95.00 10.0 5.8
2015 7 3 184 6 43 22 10.17 125.90 33.0 6.1
2015 7 6 187 3 50 56 -56.75 -142.75 10.0 5.5
2015 7 6 187 12 24 2 -20.79 -174.49 10.0 6.2
2015 7 7 188 5 10 27 43.99 147.94 38.2 6.3
2015 7 7 188 5 35 10 -35.68 -178.81 10.0 5.6
2015 7 7 188 6 20 56 -35.50 -179.50 10.0 5.4
2015 7 7 188 7 1 43 -13.26 -111.61 10.0 5.2
2015 7 7 188 16 8 4 -13.40 -111.30 10.0 5.0
2015 7 7 188 18 4 48 -13.67 -111.56 10.0 4.7
2015 7 7 188 20 3 13 -23.09 -177.03 119.8 5.8
2015 7 9 190 13 25 55 13.26 -90.26 55.5 5.1
2015 7 9 190 18 32 51 40.36 141.48 79.4 5.6
2015 7 10 191 4 12 42 -9.31 158.42 10.0 6.7
2015 7 12 193 4 37 31 3.01 128.20 109.7 5.2
2015 7 12 193 17 52 6 32.97 131.82 55.3 5.4
2015 7 15 196 11 25 59 27.35 65.97 10.0 5.5
2015 7 16 197 11 1 48 13.91 -58.48 15.7 5.3
2015 7 16 197 15 16 32 13.88 -58.51 10.0 6.4
2015 7 17 198 18 49 54 -18.08 -178.20 535.8 5.8
2015 7 18 199 2 27 34 -10.44 165.17 10.0 7.0
2015 7 20 201 5 28 36 -34.82 54.51 10.0 5.6
2015 7 20 201 11 8 19 -35.51 -105.09 10.0 5.1
2015 7 22 203 5 35 43 5.02 94.77 53.2 5.6
2015 7 23 204 3 56 54 -0.69 -21.16 10.0 5.1
2015 7 24 205 21 44 42 -8.30 108.98 82.0 5.4
2015 7 24 205 23 14 39 -20.30 -70.26 34.4 5.5
2015 7 26 207 7 5 9 -9.25 112.69 59.2 6.0
2015 7 26 207 22 42 16 -18.03 -174.06 28.9 5.5
2015 7 27 208 4 49 47 52.44 -169.60 27.1 6.9
2015 7 27 208 7 40 32 52.32 -169.31 30.7 5.6
2015 7 27 208 21 41 21 -2.68 138.51 48.0 7.0
2015 7 29 210 0 10 24 8.24 -77.30 10.0 5.9
2015 7 29 210 2 35 59 59.91 -153.15 116.6 6.3
2015 7 29 210 23 41 40 -25.43 154.21 10.0 5.7
2015 7 30 211 7 42 28 -27.02 -176.08 27.2 5.3
2015 7 30 211 18 51 4 -57.25 -141.25 10.0 5.5
2015 8 1 213 3 38 45 -25.37 154.28 10.0 5.6
2015 8 3 215 14 1 52 -16.45 -174.39 165.3 5.7
2015 8 5 217 9 13 25 16.16 -93.62 109.9 5.7
2015 8 6 218 23 59 45 -26.48 -178.30 264.3 5.9
2015 8 7 219 1 25 3 -2.16 28.89 12.0 5.8
2015 8 7 219 1 28 37 -2.10 28.93 10.0 5.5
2015 8 7 219 5 53 58 24.17 -108.53 10.0 4.9
2015 8 7 219 12 18 50 1.08 -85.20 10.0 5.3
2015 8 7 219 13 48 35 1.07 -85.33 31.4 5.1
2015 8 7 219 14 22 14 -18.07 -174.16 26.4 5.3
2015 8 9 221 4 46 20 -27.41 -176.10 10.0 5.9
2015 8 9 221 8 36 13 5.20 -82.63 10.0 5.0
2015 8 10 222 4 12 14 -9.32 158.03 10.0 6.7
2015 8 10 222 4 24 32 -9.31 157.96 10.0 5.7
2015 8 10 222 7 43 38 -19.62 -174.81 57.2 5.6
2015 8 10 222 10 5 26 36.52 71.20 224.0 5.9
2015 8 10 222 19 19 34 -27.15 -176.24 10.0 5.2
2015 8 11 223 13 35 49 -27.10 -176.23 10.0 5.4
2015 8 11 223 13 49 4 -19.21 -176.39 10.0 4.8
2015 8 12 224 18 19 16 -9.28 157.91 10.0 5.3
2015 8 12 224 18 49 24 -9.32 157.93 5.0 6.4
2015 8 13 225 10 39 53 -37.03 78.06 10.0 5.5
2015 8 13 225 11 28 16 -36.82 78.34 9.9 5.2
2015 8 13 225 14 4 58 -3.94 152.91 137.4 5.6
2015 8 13 225 14 7 59 23.96 122.50 15.8 5.4
2015 8 14 226 13 28 1 -27.32 -176.04 13.2 5.6
2015 8 14 226 18 3 4 21.11 -45.88 12.8 5.6
2015 8 14 226 22 3 35 -6.98 131.50 52.6 5.5
2015 8 15 227 7 47 7 -10.90 163.88 6.3 6.6
2015 8 15 227 20 16 23 51.76 -175.26 44.8 5.4
2015 8 17 229 14 42 32 21.93 146.64 2.6 5.7
2015 8 17 229 16 16 59 13.70 51.80 10.0 5.6
2015 8 20 232 11 0 10 0.51 126.62 50.5 5.7
2015 8 20 232 13 29 9 -8.13 149.54 51.9 5.5
2015 8 23 235 23 10 4 -29.67 -71.43 33.9 5.5
2015 8 24 236 9 41 26 -30.88 -178.32 220.8 5.7
2015 8 24 236 11 51 2 56.19 164.30 31.7 5.0
2015 8 26 238 13 51 36 -57.47 -25.91 32.4 5.7
2015 8 27 239 15 6 25 -19.67 -176.60 10.0 5.1
2015 8 29 241 3 53 24 19.15 145.66 123.6 5.5
2015 9 1 244 15 25 10 31.15 141.59 12.6 5.6
2015 9 2 245 1 13 52 14.04 53.88 10.0 4.9
2015 9 2 245 1 18 30 4.36 124.72 309.5 5.9
2015 9 3 246 13 23 59 2.08 126.71 43.7 5.6
2015 9 4 247 4 49 22 29.25 130.55 10.0 5.5
2015 9 4 247 4 49 39 40.93 47.51 13.8 5.4
2015 9 4 247 20 8 31 -7.98 107.24 34.2 5.5
2015 9 5 248 7 0 0 51.40 -174.36 11.9 5.6
2015 9 5 248 13 16 10 49.35 155.64 47.1 5.9
2015 9 7 250 9 13 59 -32.93 -177.89 35.3 6.4
2015 9 7 250 14 6 24 -32.87 -177.68 10.0 6.2
2015 9 8 251 6 48 33 -33.04 -178.54 10.0 5.6
2015 9 8 251 8 3 55 14.67 -93.88 4.1 5.7
2015 9 8 251 8 19 53 -33.13 -178.22 11.0 5.5
2015 9 9 252 7 5 44 -49.75 -116.25 10.0 5.8
2015 9 10 253 10 26 48 52.16 -169.58 37.8 5.9
2015 9 11 254 21 19 19 -5.98 146.66 30.3 5.5
2015 9 12 255 13 38 3 41.87 142.66 60.5 5.1
2015 9 12 255 20 32 25 -32.52 -177.92 10.0 5.7
2015 9 12 255 22 16 10 -6.12 147.34 46.0 5.5
2015 9 13 256 1 13 12 0.13 123.41 122.7 5.8
2015 9 13 256 7 40 40 25.14 -109.26 10.0 4.9
2015 9 13 256 7 57 40 25.10 -109.18 20.8 5.3
2015 9 13 256 8 14 13 25.16 -109.38 10.0 6.6
2015 9 16 259 7 40 59 1.85 126.38 52.7 6.3
2015 9 16 259 14 3 22 -6.00 151.45 6.3 6.0
2015 9 16 259 22 54 33 -31.57 -71.65 25.0 8.3
2015 9 17 260 4 10 31 -31.54 -71.71 30.1 6.7
2015 9 17 260 12 14 35 -32.95 -71.53 10.0 5.3
2015 9 17 260 13 32 26 -32.13 -72.00 10.0 5.4
2015 9 18 261 8 18 18 -32.22 -72.37 10.0 5.1
2015 9 18 261 9 10 45 -32.41 -72.24 8.6 6.3
2015 9 18 261 15 59 42 15.26 -45.95 10.0 5.4
2015 9 19 262 5 6 47 -29.66 -72.12 10.0 5.8
2015 9 19 262 9 7 9 -31.11 -71.61 23.2 6.1
2015 9 19 262 12 52 20 -32.33 -72.09 10.6 6.2
2015 9 19 262 13 8 58 -30.57 -72.17 14.1 5.6
2015 9 21 264 5 39 34 -31.59 -71.71 22.8 6.3
......@@ -12,7 +12,7 @@
def Usage():
print('Usage:')
print('python bqmail.py -Nnetwork -Sstation -Yyear1/month1/day1/year2/month2/day2 -Bsec_begin/sec_end -Cchannel -cdatetimefile -shour -Fformat head.cfg')
print('python bqmail.py -Nnetwork -Sstation -Yyear1/month1/day1/year2/month2/day2 -Bsec_begin/sec_end -Cchannel -cdatetimefile -Fformat head.cfg')
print('-N -- Network.')
print('-S -- Station.')
print('-Y -- Date range.')
......@@ -38,7 +38,7 @@ except:
try:
opts,args = getopt.getopt(sys.argv[1:], "hN:S:C:Y:B:s:c:F:")
opts,args = getopt.getopt(sys.argv[1:], "hN:S:C:Y:B:c:F:")
except:
print('Arguments are not found!')
Usage()
......@@ -65,9 +65,6 @@ for op, value in opts:
iscustom = 1
elif op == "-B":
timerange = value
elif op == "-s":
iscontinue = 1
timeval = float(value)
elif op == "-C":
chan = value
elif op == "-F":
......@@ -109,7 +106,7 @@ NAME = config.get("info","NAME")
INST = config.get("info","INST")
EMAIL = config.get("info","EMAIL")
MEDIA = config.get("info","MEDIA")
ALTERNATEMEDIA = config.get("info","ALTERNATEMEDIA")
ALTERNATEMEDIA = MEDIA
hosts = config.get("smtp","hosts")
port = config.get("smtp","port")
passwd = config.get("smtp","passwd")
......
......@@ -9,7 +9,7 @@
def Usage():
print('Usage:')
print('python bqmail.py -Istation.lst -Yyear1/month1/day1/year2/month2/day2 -Cchannel -Hhour -Fformat head.cfg')
print('-N -- Station list. format: Network station')
print('-I -- Station list. format: Network station')
print('-Y -- Date range.')
print('-C -- Channel (e.g., ?H?, HHZ, BH?). Default: BH?')
print('-H -- Request continuous wave by hour.')
......@@ -89,7 +89,7 @@ NAME = config.get("info","NAME")
INST = config.get("info","INST")
EMAIL = config.get("info","EMAIL")
MEDIA = config.get("info","MEDIA")
ALTERNATEMEDIA = config.get("info","ALTERNATEMEDIA")
ALTERNATEMEDIA = MEDIA
hosts = config.get("smtp","hosts")
port = config.get("smtp","port")
passwd = config.get("smtp","passwd")
......
文件已添加
\documentclass[12pt, a4paper]{report}
%%%%%%%%%% Load Package %%%%%%%%%%%
\usepackage[top=3.0cm,bottom=2.0cm,left=3.5cm,right=3.5cm]{geometry}
\usepackage{fontspec}
\usepackage[noblocks,affil-it]{authblk}
\usepackage[colorlinks = true,
linkcolor = cyan,
citecolor = blue,
anchorcolor = blue]{hyperref}
\usepackage{listings}
\usepackage{booktabs}
\usepackage{titlesec}
\usepackage{geometry}
%%%%%%%%%% Set Format %%%%%%%%%%%%%%
\setmainfont{Times New Roman}
\newfontfamily{\C}{Consolas}
\newfontfamily{\tb}{Times New Roman Bold}
\newfontfamily{\ti}{Times New Roman Italic}
\lstset{basicstyle=\C\footnotesize,breaklines=true,tabsize=4}
\linespread{1.3}
\titleformat{\chapter}{\Huge\bfseries}{\thechapter}{1em}{}
%%%%%%%%%% First Page %%%%%%%%%%%%%%
\title{BQMail\\User Manual\\Version 2.3.0}
\author[1,*]{Mijian Xu}
\affil[1]{\small School of Earth Science and Engineering, Nanjing University}
\affil[*]{\small Email: gomijianxu@gmail.com}
%%%%%%%%%%% Doc Begin %%%%%%%%%%%%%%%
\begin{document}
\maketitle
%\newgeometry{top=1cm}
\tableofcontents
%\restoregeometry
%===================================%
%------------ Chapter 1 ------------%
%===================================%
\chapter{Introduction}
BQMail is a open source software package for requesting seismic data from Incorporated Research Institutions for Seismology (IRIS) Data Management Center (DMC) using BREQ\_FAST service (\url{http://ds.iris.edu/ds/nodes/dmc/manuals/breq_fast/}). BREQ\_FAST is a wildly used method for batch accessing to the IRIS DMC archive via electronically mailing a specially formatted file to IRIS DMC. User could input parameters (e.g., station name, date range, file format) in command lines, and then the package will automatically create the formatted file and send to IRIS DMC. Meanwhile, User can also use it to search station information by inputing parameters in command lines.
Scripts included in BQMail were developed by Python programming language (\url{https://www.python.org}) on OSX 10.10 platform. The package runs on OSX and Linux/Unix platform. it is not sure that the package can (or cannot) run on Windows platform. BQMail is compatible between Python 2.7 and Python 3.x. The package is distributed under the GNU General Public License Version 3 (GPLv3) as published by the Free Software Foundation (\url{http://www.gnu.org/licenses/gpl.html}).
%===================================%
%------------ Chapter 2 ------------%
%===================================%
\chapter{Installation}
%----------- Section 2.1 -----------%
\section{Dependencies}
BQMail depend on standard libraries of Python 2.7 or higher versions, which include datetime, os, re, smtplib, urllib, sys, getopt, glob, ConfigParser/configParser and math.
%----------- Section 2.2 -----------%
\section{Installation}
\subsection{Download BQMail}
After opening a terminal, run the following commands:
\begin{lstlisting}
git clone git://github.com/xumi1993/bqmail.git
\end{lstlisting}
\subsection{Install BQMail}
Entering the root directory of the BQMail, Users can run scripts to use this package. If users wish to use this package in any directory, run following commands:
\begin{lstlisting}
cd bqmail
./install.sh
\end{lstlisting}
%===================================%
%------------ Chapter 3 ------------%
%===================================%
\chapter{Tutorial}
%----------- Section 3.1 -----------%
\section{bqmail}
bqmail - Request seismic waveform data of events.
\subsection{Synopsis}
{\tb bqmail} [{\ti configfile}] {\tb -N}{\ti network} {\tb -S}{\ti station} {\tb -Y}{\ti ymin/mmin/dmin/ymax/mmax/dmax}\\\
{\tb -B}{\ti sec\_before/sec\_after} [{\tb -C}{\ti channel}] [{\tb -c}{\ti datetimefile}] [{\tb -F[{\ti seed}|{\ti miniseed}]}]
\subsection{Required Arguments}
\begin{description}
\item[{\ti configfile}] Specify the directory of config file. the config file contains a events list, options of BREQ\_FAST token lines and informations of electronic mail server. The table \ref{tab31} lists options in the config file.
\begin{table}
\caption{Options in the config file}
\centering
\begin{tabular}{c|c}\toprule[1.5 pt]
Option & Function \\ \midrule[1 pt]
{\C eventlst} & The directory of a formatted events list.\\
{\C NAME} & The folder name at IRIS DMC ftp site.\\
{\C INST} & Institution.\\
{\C EMAIL} & The Email address to send and receive related mail.\\
{\C MEDIA} & Media for accessing data. [Default is {\C Electronic (FTP)}.]\\
{\C hosts} & The host name of the smtp server.\\
{\C port} & The port of the smtp server. [Default is {\C 25}.]\\
{\C passwd} & Clear text password of the {\C EMAIL}.\\
\bottomrule[1.5 pt]
\end{tabular}
\label{tab31}
\end{table}
\item[{\tb -N}{\ti network}] Specify a code of network.
\item[{\tb -S}{\ti station}] Select a station under the network Specified by {\tb -N}
\item[{\tb -Y}{\ti ymin/mmin/dmin/ymax/mmax/dmax}] Select a date range during the archive time of the station.
\item[{\tb -B}{\ti sec\_before/sec\_after}] Set the time duration of each seismogram from {\ti sec\_before} before event time to {\ti sec\_after} after event time in seconds
\end{description}
\subsection{Optional Arguments}
\begin{description}
\item[{\tb -C}{\ti channel}] Specify channels like "{\ti ?H?}" or "{\ti HHZ}". [Default is "{\ti BH?}"].
\item[{\tb -c}{\ti datetimefile}] If this argument is specified, {\tb -Y} will be futile. the time range will be specified as a table file with 12 column as following format: [{\ti year1 month1 day1 hour1 minute1 sec1 year2 month2 day2 hour2 minute2 sec2}].
\item[{\tb -F[{\ti seed}|{\ti miniseed}]}] Select a format (seed or miniseed) to retrieve [Default is {\ti seed}].
\end{description}
\subsection{Example}
To request waveform data by events of CB.NJ2 station from 2013 to 2014, try
\begin{lstlisting}
bqmail head.cfg -NCB -SNJ2 -Y2013/1/1/2014/12/31 -B0/3600
\end{lstlisting}
%----------- Section 3.2 -----------%
\section{bqmail\_raw}
bqmail\_raw - Request continuous seismic waveform data by hours.
\subsection{Synopsis}
{\tb bqmail\_raw} [{\ti configfile}] {\tb -I}{\ti stationlist} {\tb -Y}{\ti ymin/mmin/dmin/ymax/mmax/dmax} {\tb -H}{\ti hours} [{\tb -C}{\ti channel}] [{\tb -F[{\ti seed}|{\ti miniseed}]}]
\subsection{Required Arguments}
\begin{description}
\item[{\ti configfile}] Specify the directory of config file. the config file contains a events list, options of BREQ\_FAST token lines and informations of electronic mail server. The table \ref{tab31} lists options in the config file.
\item[{\tb -I}{\ti stationlist}] Select a text file including informations of networks and stations as following format:[{\ti network station}]
\item[{\tb -Y}{\ti ymin/mmin/dmin/ymax/mmax/dmax}] Select a date range during the archive time of the station.
\item[{\tb -H}{\ti hours}] Specify a time duration of each retrieving data file in hours.
\end{description}
\subsection{Optional Arguments}
\begin{description}
\item[{\tb -C}{\ti channel}] Specify channels like "{\ti ?H?}" or "{\ti HHZ}". [Default is "{\ti BH?}"].
\item[{\tb -F[{\ti seed}|{\ti miniseed}]}] Select a format (seed or miniseed) of retrieving data file. [Default is {\ti seed}].
\end{description}
\subsection{Example}
To request continuous seismic waveform data with format of miniseed from 1 Jan. 2015 to 1 Jan. 2015 every 1 day, try
\begin{lstlisting}
bqmail_raw head.cfg -Ista.lst -Y2015/1/1/2015/1/5 -H24 \
-Fminiseed
\end{lstlisting}
this is a record of the {\ti sta.lst}
\begin{lstlisting}
CB NJ2
CB TNC
IC BJT
\end{lstlisting}
%----------- Section 3.3 -----------%
\section{searchDMC}
searchDMC - Find stations in IRIS DMC. Stations can be found in different criterions. First, Using {\tb -R} find stations in a box region. Second, Using {\tb -D} find stations in a specified region by epicentral distance. Third, Using {\tb -N [-S]} find stations under a specified network.
\subsection{Synopsis}
{\tb searchDMC} [{\tb -N}{\ti network}] [{\tb -S}{\ti station}] [{\tb -R}{\ti lonmin/lonmax/latmin/latmax}] \\\
[{\tb -D}{\ti lon/lat/dismin/dismax}] [{\tb -Y}{\ti ymin/mmin/dmin/ymax/mmax/dmax}] [{\tb -C}{\ti channel}] [{\tb -K}]
\subsection{Arguments}
\begin{description}
\item[{\tb -N}{\ti network}] Specify a code of network.
\item[{\tb -S}{\ti station}] Select a station under the network Specified by {\tb -N}
\item[{\tb -R}{\ti lonmin/lonmax/latmin/latmax}] Limits stations in a box region. Latitude goes from -90 to 90 and longitude goes from -180 to 180.
\item[{\tb -D}{\ti lon/lat/dismin/dismax}] Limits station in a specified region by epicentral distance between {\ti dismin} and {\ti dismax} from a center at {\ti lat, lon}. The distance goes from 0 to 180.
\item[{\tb -Y}{\ti ymin/mmin/dmin/ymax/mmax/dmax}] Select a date range during the archive time of the station.
\item[{\tb -C}{\ti channel}] Specify a channel like "{\ti BHZ}". This argument with unsupported wildcard is different from the one in {\tb bqmail} (or {\tb bqmail\_raw}).
\item[{\tb -K}] Generates a KML file in current directory. which is used by Google Earth to display station locations and related information based on IRIS DMC metadata. The argument of {\tb -D} cannot support this function.
\end{description}
\subsection{Example}
To find stations in a box region from 2002 to 2004, use
\begin{lstlisting}
searchDMC -R90/100/20/30 -Y2002/1/1/2004/12/31
\end{lstlisting}
To find stations in the region with epicentral distance between 0$^\circ$ and 10$^\circ$ from a center at 25$^\circ$N and 100$^\circ$E, use
\begin{lstlisting}
searchDMC -D100/25/0/10
\end{lstlisting}
To find stations under network {\C IC} with channel of {\C HHZ} and Generate a KML file, use
\begin{lstlisting}
searchDMC -NIC -CHHZ -K
\end{lstlisting}
%----------- Section 3.4 -----------%
\section{updateCatalog}
updateCatalog - Automatically update the the events list from Harvard CMT Catalog.
\subsection{Synopsis}
{\tb ubdateCatalog} {\tb -I}{\ti inputfile} [{\tb -O}{\ti outputfile}]
\subsection{Required Arguments}
\begin{description}
\item[{\tb -I}{\ti inputfile}] Specify the directory of events list that will be updated.
\end{description}
\subsection{Optional Arguments}
\begin{description}
\item[{\tb -O}{\ti outputfile}] Specify a output directory of the updated events list. If this argument is not specified, the {\ti inputfile} will be overwritten as a updated events list.
\end{description}
\subsection{Example}
To update the the events list, use
\begin{lstlisting}
updateCatalog -I~/work/EventCMT.dat -O/tmp/Newlist.dat
\end{lstlisting}
\end{document}
......@@ -5,7 +5,6 @@ NAME = bqmail
INST = NJU
EMAIL = xxxxxx@xxx.com
MEDIA = Electronic (FTP)
ALTERNATEMEDIA = Electronic (FTP)
[smtp]
hosts = smtp.xxx.com
port = 25
......
支持 Markdown
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册