webinterface

The webinterface module is an Arclink client for retrieving waveforms and metadata based on events or inventory. It can also be used as an event and station discovery tool.

Description

Configuration options for webinterface

This refers specificially to the WSGI application providing web services. See also JavaScript documentation elsewhere??

Note

This file is used with webinterface.xml for magical configuration documentation generation. Much more to do.

Configuration

Note

webinterface is a standalone module and does not inherit global options.

etc/defaults/webinterface.cfg
etc/webinterface.cfg
~/.seiscomp3/webinterface.cfg

Note

arclink.* Parameters relating to connections to the Arclink server(s) supporting webinterface.

arclink.address

Type: string

The server to connect to, given as hostname:port Default is eida.gfz-potsdam.de:18002.

arclink.timeout.request

Type: int

Timeout, in seconds, for XXX requests? Default is 300.

arclink.timeout.status

Type: int

Default is 300.

arclink.timeout.download

Type: int

Default is 300.

arclink.timeout.networkXML

Type: string

Default is eida.xml.

Note

event.* Parameters relating to event look-up services.

event.defaultLimit

Type: int

Maximum number of events which are returned if no other limit is set. Default is 800.

event.verbosity

Type: int

Verbosity level a la SeisComP logging.level. How chatty should event service be? This specifies logging on the server. 0:quiet, 1:error, 2:warning, 3:info, 4:debug. Default is 2.

event.catalogs.ids

Type: list

List of all event services which will be enabled. Include ‘parser’ here to support file upload. For each service, there must be an internal EventService object with a handler method suitable for the service. There may be more than one instance of each EventService with different configuration parameters (e.g. different baseURL), in which case they are distinguished by the names here. See event.service.*.handler below. Default is geofon, comcat, emsc, parser.

event.catalogs.preferred

Type: string

The preferred service appears first in the pull-down menu of event services. Default is geofon.

event.catalogs.registeredOnly

Type: boolean

*NOT NEEDED??* If this parameter is ‘true’, any service, e.g. {id}, with no description will be *hidden*. That is, it will be registered, so requests to “/event/{id}” will be handled, but it will not be listed in the “Events Services” dialog box. Only those services with a non-empty “description” attribute will be displayed. Default is True.

event.names.lookupIfEmpty

Type: boolean

If an event service does not provide a region name (e.g. an F.-E. region) should we look it up? Default is True.

event.names.lookupIfGiven

Type: boolean

If an event service *does* provide a region name (e.g. an F.-E. region) should we look it up anyway, and override what was supplied up? Default is False.

event.service.*.description

Type: string

Short description for this target event service. This is provided in the catalog (/event/catalogs). It is displayed in the presentation layer under XXX.

event.service.*.handler

Type: string

What event service handler is to be used internally for this target event service. Allowable values are defined in ‘known_handlers’ list in event.py. For some old service names (“comcat”, “emsc”, “geofon”) this parameter is not required, and if absent, it is inferred from the service name. This behaviour may be removed in future; you should explicitly set a value in your configuration file.

event.service.*.baseURL

Type: string

URL of the target event service. In forming queries of service {name}, baseURL is followed by ‘?’ and any parameters, followed by event.service.{name}.extraParams

event.service.*.extraParams

Type: string

Any additional string which needs appending to URLs for queries of the target event service. In forming queries of service {name}, extraParams is added to form the URL event.service{name}.baseURL?{request parameters}\&{extraParams}

Note

js.* Parameters relating to JavaScript. These are read in by the Python WSGI and served to the browser when ...

js.maptype

Type: string

Type of OpenLayers map to produce. Can be one of: wms, google, osm. Default is wms.

Note

js.google.* Type of Google map

js.google.layer

Type: string

Parameter for Google Default is Google Physical.

Note

js.wms.* Type of WMS map

js.wms.server

Type: string

URL, location of the WMS map server

js.wms.layer

Type: string

Parameter for WMS

Note

js.events.* These parameters are used in forming the Event Search Control.

js.events.date_startoffset

Type: string

Relative time for setting the default ‘start’ field in the Event Search Control. Use d, w, m, y for days, weeks, months or years; this value is interpreted by the jQueryUI datepicker . Default is -7d.

js.events.magnitudes_minimum

Type: float

Default lower magnitude limit for events Default is 3.0.

js.events.depth_minimum

Type: float

Default smallest depth limit (in kilometres) for events. Default is 0.

js.events.depth_maximum

Type: float

Default largest depth limit (in kilometres) for events. Default is 1000.

js.events.coordinates_north

Type: float

Default northern latitude limit (in degrees) for rectangular region search. Default is 90.

js.events.coordinates_south

Type: float

Default southern latitude limit (in degrees) for rectangular region search. Default is -90.

js.events.coordinates_west

Type: float

Default western longitude limit (in degrees) for rectangular region search. Default is -180.

js.events.coordinates_east

Type: float

Default eastern longitude limit (in degrees) for rectangular region search. Default is 180.

Table Of Contents

Previous topic

Arclink

Next topic

Operator Instructions

This Page