Esempio n. 1
0
	def __init__(self, args=None):
		RequestOptions.__init__(self, args)
		self.service = 'fdsnws-dataselect'

		self.quality = self.QualityValues[0]
		self.minimumLength = None
		self.longestOnly = None
Esempio n. 2
0
	def __init__(self, args):
		RequestOptions.__init__(self, args)
		self.service = "fdsnws-event"

		self.depth        = None
		self.mag          = None

		self.allOrigins   = False
		self.allMags      = False
		self.arrivals     = False

		self.limit        = None   # event limit, if defined: min 1
		self.offset       = None   # start at specific event count position,
		                           # the spec uses a weird offset definition
		                           # where an offset of '1' returns the first
		                           # element, not the second one
		self.orderBy      = None   # [time, time-asc, magnitude, magnitude-asc]
		self.catalogs     = []     # not supported
		self.contributors = []     # mapped to agency id
		self.updatedAfter = None

		self.eventIDs     = []     # specific event filter may not be
		                           # combined with above filter criteria


		# non standard parameters
		self.output       = "qml"
		self.comments     = True
		self.formatted    = False
		self.picks        = False
Esempio n. 3
0
    def __init__(self, args):
        RequestOptions.__init__(self, args)
        self.service = 'fdsnws-event'

        self.depth = None
        self.mag = None
        self.eventTypes = set()  # SC3 numeric event type ids, -1 is used for
        # empty event types

        self.allOrigins = None
        self.allMags = None
        self.arrivals = None

        self.limit = None  # event limit, if defined: min 1
        self.offset = None  # start at specific event count position,
        # the spec uses a weird offset definition
        # where an offset of '1' returns the first
        # element, not the second one
        self.orderBy = None  # [time, time-asc, magnitude, magnitude-asc]
        self.catalogs = []  # not supported
        self.contributors = []  # mapped to agency id
        self.updatedAfter = None

        self.eventIDs = []  # specific event filter may not be
        # combined with above filter criteria

        # non standard parameters
        self.comments = None
        self.formatted = None
        self.picks = None
        self.fm = None
        self.allFMs = None
        self.staMTs = None
Esempio n. 4
0
    def __init__(self, args=None):
        RequestOptions.__init__(self, args)
        self.service = 'fdsnws-dataselect'

        self.quality = self.QualityValues[0]
        self.minimumLength = None
        self.longestOnly = None
Esempio n. 5
0
	def __init__(self, args):
		RequestOptions.__init__(self, args)
		self.updatedAfter = None
		self.includeSta = True
		self.includeCha = False
		self.includeRes = False

		# non standard parameters
		self.output     = "stationxml"
		self.formatted  = False
Esempio n. 6
0
    def __init__(self, args=None):
        RequestOptions.__init__(self, args)
        self.service = 'fdsnws-station'

        self.includeSta = True
        self.includeCha = False
        self.includeRes = False

        self.restricted = None
        self.availability = None
        self.updatedAfter = None
        self.matchTimeSeries = None

        # non standard parameters
        self.formatted = None
Esempio n. 7
0
	def __init__(self, args=None):
		RequestOptions.__init__(self, args)
		self.service = 'fdsnws-station'

		self.includeSta = True
		self.includeCha = False
		self.includeRes = False

		self.restricted      = None
		self.availability    = None
		self.updatedAfter    = None
		self.matchTimeSeries = None

		# non standard parameters
		self.formatted  = None
Esempio n. 8
0
	def __init__(self, args):
		RequestOptions.__init__(self, args)
		self.service = "fdsnws-station"

		self.includeSta = True
		self.includeCha = False
		self.includeRes = False

		self.restricted   = False
		self.availability = False
		self.updatedAfter = None

		# non standard parameters
		self.output     = "fdsnxml"
		self.formatted  = False
Esempio n. 9
0
	def __init__(self, args):
		RequestOptions.__init__(self, args)
		self.quality = "B"  # [B, D, M, Q, R]
		self.ref = "direct" # [direct, redirect, url, token, xml]
Esempio n. 10
0
	def __init__(self, args):
		RequestOptions.__init__(self, args)
		self.restricted = False
		self.output = "xml" # [xml, query, bulkdataselect]