Skip to content

Configuration of EVENT services #38

@jan-michalek

Description

@jan-michalek

I am struggling with configuration of the event services in webinterface.cfg.

  1. Order of the services in the drop-down dialog menu is not possible to control.
    I tried various options but none of those worked:
    • event.catalogs.preferred = geofon; can not be changed, whole interface crashing otherwise. In addition, this attribute is not unique, not clear how it is linked the the actual EVENT services. The values for .handler are not unique.
    • order is not given by the list of service URLs (example below)
  2. USGS and INGV services not working despite the actual services accessed directly work.
    • logic behind naming of the services is not clear and makes it difficult to configure (trial/error)

Example: Part of the configuration from webinterface.cfg

# All event services which will be enabled.
# Include 'parser' here to support file upload.
#event.catalogs.ids = uib, geofon, comcat, emsc, fdsnws, parser, meteor
event.catalogs.ids = geofon, comcat, emsc, fdsnws, parser, meteor

# The preferred service will appear first in the pull-down menu of event
# services.
event.catalogs.preferred = geofon
#event.catalogs.preferred = uib
#event.catalogs.preferred = fdsnws

# Maximum number of events which are returned if no limit is set.
event.defaultLimit = 100000
# Verbosity level a la SeisComP logging.level.
# 0:quiet, 1:error, 2:warning, 3:info, 4:debug
event.verbosity = 3

# Service URLs:
event.service.uib.description = UIB
event.service.uib.handler = fdsnws
event.service.uib.baseURL = "http://nnsn.geo.uib.no/nnsn_eqcat/fdsnws/event/1/query"
event.service.uib.extraParams = "format=text&limit=100000"

event.service.geofon.description = GFZ
event.service.geofon.handler = geofon
event.service.geofon.baseURL = "http://geofon.gfz-potsdam.de/eqinfo/list.php"
event.service.geofon.extraParams = "fmt=csv"

event.service.comcat.description = USGS
event.service.comcat.handler = fdsnws
event.service.comcat.baseURL = "http://earthquake.usgs.gov/fdsnws/event/1/query"
event.service.comcat.extraParams = "format=text"

event.service.emsc.description = EMSC
event.service.emsc.handler = fdsnws
event.service.emsc.baseURL = "http://www.seismicportal.eu/fdsnws/event/1/query"
event.service.emsc.extraParams = "format=text"

event.service.fdsnws.description = INGV
event.service.fdsnws.handler = fdsnws
event.service.fdsnws.baseURL = "http://webservices.rm.ingv.it/fdsnws/event/1/query"
event.service.fdsnws.extraParams = "format=text&user=webinterface"

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions