obspy installation

SeisHub service is working now. But may I ask several questions here:

1. Does SeisHub service provide database administration functions?

From http://localhost:8080/manage, it looks like I can only add/delete users, but I cannot manage the database table, also I cannot see the content of the database as well.

2. what client functionality Seishub provide?

From obspy.org, I can see obspy.seishub.Client. This Client class can retrieve data from the database. But how can I create a new table in the database, add/delete contents from the table?

3. SeisHub service access control.

From the Client, user can access the database via providing username and password. In addition this, does Seishub service support other authentication mechanism? For example, x509 certificate?

4. Is SeisHub service RESTFul?
If yes, then what are the resource URLs? Where to find out?

5. Does Seishub service provide a template database content?

From the SeisHub installation website http://svn.geophysik.uni-muenchen.de/trac/seishub/wiki/InstallingSeisHub, it mentions to run a script: Easy_install Home · obspy/obspy Wiki · GitHub. What the purpose of running this script? Does it mean a template database content is installed after running the script?

Thanks,

Xiao

Hi Xiao,

First of all sorry for the late reply.

This post is very off topic for the ObsPy users list - therefore please
write me directly if you have issues or questions about SeisHub. Also
please read the main documentation which is linked on
http://www.seishub.org as it explains the concepts of SeisHub such as
database structure/packages/resources/mappers/plug-ins and so on.

1. Does SeisHub service provide database administration functions?
From http://localhost:8080/manage, it looks like I can only
add/delete users, but I cannot manage the database table, also I
cannot see the content of the database as well.

Did you enable all plug-ins? There is a panel for browsing the database
- - in SeisHub itself you are not supposed to add/edit database tables.
This is done "automagically" by adding XPath expressions and uploading
XML documents. Please read the documentation stated above to understand
this most basic concept of SeisHub

2. what client functionality Seishub provide? From obspy.org, I can
see obspy.seishub.Client. This Client class can retrieve data from
the database. But how can I create a new table in the database,
add/delete contents from the table?

see above - clients so far connect via the REST interface of SeisHub

3. SeisHub service access control. From the Client, user can access
the database via providing username and password. In addition this,
does Seishub service support other authentication mechanism? For
example, x509 certificate?

you can securely connect and retrieve data via HTTPS and SFTP (you need
to enable services for that) - self-signed server certificates are on
the first startup automatically generated within the conf directory

4. Is SeisHub service RESTFul? If yes, then what are the resource
URLs? Where to find out?

yes but the plain SeisHub core does not offer any RESTful URL - this is
the task of plug-ins by offering mappers (== a single RESTful interface)
- - as an example look at the three modules of seishub.plugin.seismology

mappers are so far not self describing (e.g. using WADL) - but may be
extended in the future

5. Does Seishub service provide a template database content? From the
SeisHub installation website
http://svn.geophysik.uni-muenchen.de/trac/seishub/wiki/InstallingSeisHub,
it mentions to run a script: Easy_install
Home · obspy/obspy Wiki · GitHub. What the purpose of running
this script? Does it mean a template database content is installed
after running the script?

I don't understand the first question - what do you mean with template
database content.

The module obspy.db is used for the waveform indexer - essentially
starting a indexing process outside of SeisHub which results are
available within the scope of SeisHub.

Cheers,
Robert
- --

Dr. Robert Barsch
Department of Earth and Environmental Sciences, Geophysics
LMU Munich
Theresienstr. 41/IV
D-80333 Munich
Germany

Tel: +49 (0) 89 2180 4201
Fax: +49 (0) 89 2180 9942010
Mail: barsch@lmu.de