-
Notifications
You must be signed in to change notification settings - Fork 1
/
event2qml.pf
executable file
·151 lines (124 loc) · 3.7 KB
/
event2qml.pf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
#
# quakeml.pf -- settings for converting CSS to QuakeML
#
# Resource Identifiers
#----------------------------------------------------------------------------#
# The URI schema name prefix is not strictly a part of the resource identifier.
# The URI schema name smi stands for seismological meta-information, thus indicating
# a connection to a set of metadata associated with the resource.
uri_prefix quakeml
# This is used as a unique authority string in all URI's.
# For the description of resources which are not
# officially controlled by an authority, local
# identifiers can be assigned using the keyword “local” as agency_uri.
agency_uri apiv2.infp.ro # ie anf.ucsd.edu
agency_id NIEP # ie TA
author Antelope event2qml process # ie Array Network Facility, UCSD
# These are for overriding origin type codes translation
# mapping set in the code.
etype_map &Arr{
L earthquake
LF earthquake
f earthquake
RN earthquake
rn earthquake
p explosion
pL not reported
im not reported
ma earthquake
m not reported
o other event
}
Q_NAMESPACE http://quakeml.org/xmlns/quakeml/1.2 # xmlns:q
CATALOG_NAMESPACE http://anss.org/xmlns/catalog/0.1 # xmlns:catalog
BED_NAMESPACE http://quakeml.org/xmlns/bed/1.2 # xmlns
BEDRT_NAMESPACE http://quakeml.org/xmlns/bed-rt/1.2 # xmlns
NIEP_NAMESPACE http://infp.ro/xmlns/niep/0.1 # xmlns:niep
# Only allow the listed Mag types
magnitude_type_subset &Tbl{
.*
}
review_flags &Tbl{
y
yes
r
reviewed
orbassoc
}
# Avoid some elements on the final QuakeML output by
# setting them to false here. This is a configuration
# for the css2qml function and not for the Event
# object configuration. The Event will try to load
# all information it finds in the database for the selected
# EVID.
add_origin true
add_magnitude true
add_fplane true
add_mt true
add_stamag true
add_arrival true
add_detection true
event_info_description Using ANSS Quakeml Standards https://github.com/usgs/Quakeml/wiki
event_info_comment Antelope QuakeML conversion using event2qml software.
#
# File writing mode if already present.
# True = append
# False = overwrites
# If set to False then it overwrites the file.
append_to_output_file False
#
# SELECT AND REJECT STATEMENTS FOR DATABASE ENTRIES
#
# !!!!! ALL NON-NULL OR EMPTY VALUES (select and reject) WILL BE APPLIED !!!!!!
#
# If you have an empty select and empty reject then
# all entries will pass. All values will be submitted
# to the dbsubset function with the respective syntax:
# SELECT will use =~ #i.e. dbsubset =~ /.*UCSD.*/
# REJECT will use !~ #i.e. dbsubset !~ /.*USGS.*/
#
event_auth_select &Tbl{
#.*
}
event_auth_reject &Tbl{
#USGS.* # avoid sending USGS information back to ANSS
}
origin_auth_select &Tbl{
#.*
}
origin_auth_reject &Tbl{
#UCSD.* # avoid sending USGS information back to ANSS
#USGS.* # avoid sending USGS information back to ANSS
}
arrival_auth_select &Tbl{
#.*
}
arrival_auth_reject &Tbl{
#USGS.* # avoid sending USGS information back to ANSS
}
detection_state_select &Tbl{
#.*
}
detection_state_reject &Tbl{
ON # avoid sending ON OFF states
OFF # avoid sending ON OFF states
}
netmag_auth_select &Tbl{
#.*
}
netmag_auth_reject &Tbl{
#USGS.* # avoid sending USGS information back to ANSS
}
mt_auth_select &Tbl{
#.*
}
mt_auth_reject &Tbl{
#USGS.* # avoid sending USGS information back to ANSS
}
fplane_auth_select &Tbl{
#.*
}
fplane_auth_reject &Tbl{
#USGS.* # avoid sending USGS information back to ANSS
}
pf_revision_time 1472083200