![image alt <](CODE/icons/ipgp/logo_WebObs_C110.png) 

WebObs is an integrated web-based system for data monitoring and networks management. Seismological and volcanological observatories have common needs and often common practical problems for multi disciplinary data monitoring applications. In fact, access to integrated data in real-time and estimation of uncertainties are keys for an efficient interpretation, but instruments variety, heterogeneity of data sampling and acquisition systems lead to difficulties that may hinder crisis management. In the Guadeloupe observatory, we have developed in the last 15 years an operational system that attempts to answer the questions in the context of a pluri-instrumental observatory. Based on a single computer server, open source scripts (with few binaries) and a Web interface, the system proposes:
 
- an extended database for networks management, stations and sensors (maps, station file with log history, technical characteristics, meta-data, photos and associated documents);	
- a web-form interfaces for manual data input/editing and export (like geochemical analysis, some of the deformation measurements, ...);
- routine data processing with dedicated automatic scripts for each technique, production of validated data outputs, static graphs on preset moving time intervals, possible e-mail alarms, sensors and station status based on data validity;	
- in the special case of seismology, a multichannel continuous stripchart associated with EarthWorm/SeisComP acquisition chain, event classification database, automatic shakemap reports, regional catalog with associated hypocenter maps. 	


## Present state and availability

WebObs is presently fully functional and used in a dozen observatories, but the documentation is mostly incomplete. We hope to shortly finish the main user's manual. If you are in a hurry, please contact the project coordinator and we will be happy to help you to install it. 	

## Installation / upgrading	

 To run WebObs you need to install the package which contains a setup script that will set all configuration files. Installing WebObs is not a classical compilation from sources with 'make'. A part of it requires the free Matlab runtime library, because package contains some compiled binaries.	

 Download the latest package file and runtime at [WebObs page](http://www.ipgp.fr/~beaudu/webobs.html).	


### A) Installing WebObs \<version\> from its WebObs-\<version\>.tgz	

You create/choose your WebObs directory within which you will execute the setup process. We suggest /opt/webobs. This directory will contain both	
WebObs code AND WebObs data, and will be the DocumentRoot of the WebObs Apache's Virtual Host.	

setup will prompt you for a Linux WebObs userid (aka WebObs Owner) that it will create. The WebObs userid's group will also be added to Apache's user. See the WebObs user manual if you need to create your own WebObs owner. 	

The system-wide /etc/webobs.d symbolic link will identify your WebObs 'active' (production) installation.	

WebObs comes with pre-defined configuration files and pre-defined data objects as a starting point and for demonstration purposes.	

#### Prerequisities	

Graph processes need Matlab compiler runtime 2011b. Download the installer adapted to your architecture in the WebObs directory, the setup will install it during the C) procedure. Or, place it in any local directory then run:	
 
```sh
unzip MCR_<version>_installer.zip	
sudo ./install -mode silent	
```	

A number of programs and Perl modules are needed to run webobs. During the C) installation procedure, setup will list the missing dependencies that must be installed. Under Debian/Ubuntu, you might install them using the following packages:	

```sh
sudo apt-get install apache2 apache2-utils sqlite3 imagemagick mutt xvfb \
   curl gawk graphviz net-tools libdatetime-perl libdate-calc-perl \
   libcgi-session-perl libdbd-sqlite3-perl libgraphviz-perl libimage-info-perl \
   libtext-multimarkdown-perl libswitch-perl libintl-perl
```

Compiled binaries are using some ISO-8859-1 encoding characters... to get correct display you might install some additional locale. Uncomment `FR_FR ISO-8859-1` and `en_US ISO-8859-1` lines in `/etc/locale.gen`, then:

```sh
sudo locale-gen fr_FR en_US
```	

Also you need to activate CGI module for Apache:

```sh
sudo a2enmod cgid
```	

### B) Upgrading WebObs \<version\> from its WebObs-\<version\>.tgz

The setup process is also used for upgrading an already installed WebObs.

`setup`, when 'upgrading' will activate new WebObs code AND only report the data/configuration differences that it can detect between your customized installation and what the new version would installed from scratch.

It is recommended to stop any WebObs-related processes before upgrading.

Configuration files will be updaded and displayed/editabled at the end of the upgrade process to help you apply required changes to configuration/data.


### C) Procedure (for both A) and B) above)

With root privileges, in your target WebObs directory:

1. execute  `tar xf WebObs-<version>.tar.gz`
2. execute  `WebObs-<version>/SETUP/setup`
3. (re)start Apache
4. launch the scheduler and postboard

For Debian/Ubuntu users, here is a way to install permanently active scheduler and postboard:	

```sh
sudo cp /opt/webobs/WebObs-<version>/SETUP/systemd/wo* /etc/systemd/system/
sudo systemctl enable woscheduler.service
sudo systemctl enable wopostboard.service
sudo systemctl start woscheduler.service
sudo systemctl start wopostboard.service
```

### D) Improving basemap database (optional)

WebObs is distributed with ETOPO5 worldwide topographic data, and will automatically download SRTM data for detailed maps. To improve large scale maps resolution, you can download ETOPO1:
 
```sh
curl https://www.ngdc.noaa.gov/mgg/global/relief/ETOPO1/data/bedrock/grid_registered/binary/etopo1_bed_g_i2.zip -o /tmp/etopo.zip
unzip -d /etc/webobs.d/../DATA/DEM/ETOPO /tmp/etopo.zip
```	

and update the ETOPO parameters in the `/etc/webobs.d/WEBOBS.rc` file with the lines:

```	
ETOPO_NAME|etopo1_bed_g_i2	
ETOPO_COPYRIGHT|DEM: ETOPO1 NGDC/NOOA
```	

## Authors	

### Project coordination	
* **François Beauducel** - *Project designer and supervisor* - [beaudu](https://github.com/beaudu) - beauducel@ipgp.fr
* **Didier Lafon** - *Software development* - lafon@ipgp.fr

### Contributors	

* **Xavier Béguin** - [XavierBeguin](https://github.com/XavierBeguin) - beguin@ipgp.fr
* **Patrice Boissier** - [PBoissier](https://github.com/PBoissier) - boissier@ipgp.fr	
* **Alexis Bosson** - bosson@ipgp.fr	
* **Didier Mallarino**	
* **Jean-Marie Saurel** - [ovsm-dev](https://github.com/ovsm-dev) - [jmsaurel](https://github.com/jmsaurel) - saurel@ipgp.fr

See also the list of active [contributors](https://github.com/IPGP/webobs/contributors).	

## References	

* Beauducel, F. (2006). Operational monitoring of French volcanoes: Recent advances in Guadeloupe. _Géosciences, Editions BRGM_, n°4, p 64-68, 2006. [Abstract](http://www.ipgp.fr/~beaudu/2006_Beauducel_Geosciences.html)	
* F. Beauducel, A. Bosson, F. Randriamora, C. Anténor-Habazac, A. Lemarchand, J-M Saurel, A. Nercessian, M-P Bouin, J-B de Chabalier, V. Clouard (2010). Recent advances in the Lesser Antilles observatories - Part 2 - WEBOBS: an integrated web-based system for monitoring and networks management. _Paper presented at European Geosciences Union General Assembly, Vienna, 2-7 May 2010._ [Abstract](http://www.ipgp.fr/~beaudu/2010_Beauducel_EGU.html)	

## Copyright	

WebObs - 2012-2019 - Institut de Physique du Globe Paris

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program.  If not, see <http://www.gnu.org/licenses/>.	

----------------------------------------------------------------------------------------------------
Commit logs for WebObs 2.1.2c:

commit f8ab17ccaf5543ceb44a70bbe2908c842617947a

    minor edit for default WEBOBS.rc

commit bff194a8c79602526177890b11bd387ac2dc6863

    fix an issue with wind rosace in superproc meteo

commit 41639317576eeb57deb6cf4a36156af4beccb0d8

    Fix CSS for top left logo
    
    Removes the useless blank border on the right of the logo that appears
    on the left of the top menu.

commit cf5d1644b2506628d8e61c848996b67973568dac

    Fix user homedir in setup
    
    Use real installation user (wo by default) home directory instead of the
    hardcoded /home/${USERID}.

commit 02ffe43faba5a655371d5cb46b6459d92d6b2772

    update some files and release notes for v2.1.2c

commit 34b2dc24c702a36a4b49bc9c3487d02d30067ac7

    code cleanup and display improve in gnss scripts

commit ab441d399ef8b9e3de88e9458ac0f8176effb0c0

    fix an issue with contourlines in gridmaps

commit 41a02add21310cea7e8892b8d4542d4485a8a5e6

    fix a minor display issue for VIEWS in showGRID.pl

commit a29d4302db58e569956f25a6e3f48483c3a40b75

    adds a default job in scheduler to cleanup old requests

commit d4367812e08592fff86222afdc9e3bf1109a83dd

    Fix regression in perl module installation
    
    A previous modification to 'setup' lost options to the 'ln' command to
    force the update of links and display the creation of the links.

commit 532ac96805eb349785e743c4749abe24bf669708

    Clean up duplication code about perl module installation
    
    Now correctly use the woperlmod_system_install function to install
    WebObs perl modules system-wide.

commit b548b24df4e7f702cdb63ed354f976bd8f0823f3

    Update email address for Xavier Béguin

commit 1dbed0f069d1f27a8056006c3374a278361aa545

    last fix before release 2.1.2b

commit d2e54cb362cabbeb2d541efdab8d55ca0272eebd

    fix an issue with perl modules update

commit 356cc58a26555e02efe2032156c7eb5b234d1776

    removes CLB.conf from setup update checking

commit 30c140b20636e958c29e081ca875d157b12de7ba

    fix in vedit.pl

commit 656b0478853c7a77f1e5301227faa299ba84dd28

    last update before release 2.1.2b

commit d172f22f43c26bc47caadbb63196190fbcbc8115

    fix an issue with transmission path in node configuration

commit b257ab8fa7ba5f92446d625a9b3ff7e4b4d0a25b

    minor fix in vedit.pl

commit 376b6080597a63480178caee31dac8c9d9df1f67

    fix an issue in vedit.pl

commit f545b6ad935ea57a3f2899c2c2864eb84f2db9d4

    fix with sea color in locastat

commit 5aac18338ad7c6fd0500dd98961242ffffd0bd55

    some fixes in gridmaps

commit 53ad9f62befb764ddb0f91cd6f865221d70d4c88

    adds an option in WEBOBS.rc to avoid memory issues in maps

commit 825a5e457ba6949047138aed8750270bea06ef7c

    adds an option in WEBOBS.rc to activate SRTM/ETOPO merge in maps

commit beecca6515e2e53e24e3c207af6e6907df01833f

    minor fixes to preprare next release

commit ca13e31193e523a8b2226e7cb792e69db8c84fd1

    some improvements of superproc gnss

commit cc9b0e1bdeb87046566f461ee0c751fe1d4587ef

    SUMMARY plot needs to be set explicitely in SUMMARYLIST for genplot procs

commit acb1790a4248c2db20746f4468bb15acc72e75f8

    merges SRTM and ETOPO in gridmaps and other proc's maps

commit 3c379f869a0a2d463cb060b2493733dc278e8817

    improves behavior with sparse data (empty/NaN) in smartplot.m

commit ac9d08587c451ef2f3f7630aa419ec813a202eda

    showGRID.pl displays some proc parameters in nodes table

commit 120abc02c40c20f4fda2cd20e672e1f073c9e80d

    adds new rawformat "sbe37-asci" for OBP sensors

commit 8a5ae342b7a77669648ae4d9da8d943bb4f61737

    updates base matlab functions

commit acfd27f1fea4e3d3eefc7c7424e58234f592e98e

    adds an option to bypass confirmation when action succeeds

commit 49c514cf161f7d3f8a6c21be632644fc2333b598

    Correct spelling in MC3_Codes.conf
    
    Correct error in the spelling of "whether".

commit 96155e12e09c777c24c28f58948e5cf175397d91

    fix to postNODE.pl

commit c07494e71cacfa60d55676d173e84ba8b9518fad

    adds possibility of multiple appended logos in graph headers

commit 9ec6c548d020efc548717fb01e6b97523f2dee0f

    adds optional .infos cell of strings to be written by procs in text export header.

commit 457f63cce9b8fa0c63e1562060f00dc45d5e0eca

    adds possible cell string of valid values in field2str.m

commit ea3d5275390bea2f409a199665e5029ad03ee7dc

    add STD filter in cleanpicks.m

commit 3e8e9e00a022fe87a76f6d5e0e49bec49d107227

    fix uninitialized variables in most of cgi-bin/*.pl.

commit ab02ddd7ee9436f0b4ecec3fcf1facb92662da7d

    improves verbose mode

commit 44014aaef8a7ead16df13435390f2ba13d40eee4

    minor improvement to gnss_run_gipsyx logs

commit fdbcadeb4c6a2219a283ef517e79dad21d5aebf8

    minor fixes to mapping functions and gridmaps

commit 5359f5d48ee3baf757dde75b7d6b923729d68803

    minor fix to README.md

commit e163e5b932477d33e7dac65d6f6ab8a8621eedb6

    update README.md

commit e42676e90a46618e6549ac4de7779b058d7ad868

    new default logos and apache link to access /data

commit 90155cdeb266526065d0025cd32ceb47f0c03f99

    new data format possibilities with gnss_run_gipsyx

commit d637880dbb0a97a8029c93c22b4ffad5124e3aad

    allows unzipped rinex files in mkrinex (GNSS processing)

commit 7c0580c04c1dbbadb7283377bbff6ce29cb8a1de

    reorganize properly calibration file configuration

commit 9b53bd6b36a31177c7c19cce39397a95250696f9

    adds other default group menus

commit d88a7b75686ccbe84f0dce2a8008188eb29a92a9

    improves gnss proc summary/pernode/baselines graphs

commit 6131f90cda13e6efcb70788652ad25cbf49f18ce

    fix issue #12 and add menu for access to user/all

commit 6cc3e1c638e2e99a7c9033cd14412ff00f2a55e3

    additionnal change to commit aeef7eb28f3852f9caeeec424686f614f10b18e9

commit a8479ccb0cfcb53ec45999bedfe18ccfcd033284

    fix minor issue with proc's name underscores

commit e05abfc126f8e029b8896fca1d5a140706afe0e9

    change default CANCEL_SUBMIT to 1 h in scheduler.rc

commit aeef7eb28f3852f9caeeec424686f614f10b18e9

    adds default group menus at install/upgrade

commit 61920e3e4c1a0dcd76a13a5ddbc4859737f9524b

    fix for gnss_run_gipsyx (nodes with multiple gipsyx procs)

commit fd26073e0b37e090ee95abcfc88f9f146288d14a

    fix and improves active users for new events

commit 29bde9021d443e9c1629c75603adf9ccdbc0ea9f

    improves Gazette.pl behavior with ACTIVE_GID

commit 7a282eb27efaa589737d9d5329b9b358c069e00f

    fix a bug with ACTIVE_GID option in Gazette

commit 9341bd771536178467b149ddb390a183effa7a92

    removes README

commit e25dede478c8e71e601fe953b5a93acc433769f4

    replaces README.md (sorry)

commit ba924489839c72fca59425a9fe2cff0f708fb220

    release notes and documentation for v2.1.2

commit 9f7a60f6164b33e6ea85461928a4bff004c5d008

    adds WEBOBS.rc edit link in the default +ADMIN menu

commit f1f5cfbd5e37676cea1d2de7560caae31305463f

    minor fix to gnss_run_gipsyx

commit 0367690301da2c6b2a82343ef33d9d8e77961ba8

    some fixes for the new superproc mc3stats

commit 3d43fb9c89abab04f4203c066d0fed06a5a1dd2f

    automatic link to edit events file of PROCS

commit 3acf4c7165b2630a58aa4bbf33503917d02042d1

    minor change in help

commit b137a8f5af554a224938a30ba6cfb5ca289ed46e

    Update mkrinex

commit cee479d95c42b8158f8dcc66bc2f566324cf3102

    Update gnss_run_gipsyx
    
    Check if a directory exists.

commit e5a54bd92cf49b1e38e7a04e0033fbf701a78a44

    Update mkrinex
    
    Ganti 'ls' jadi 'find'

commit e4b0a4791fd2d702f737dd10eca2269058107eb7

    publish release-notes.md and improves setup

commit 01c6044be6dae475a794b2ac4aa6db009f49fbfb

    add L1-norm in gnss superproc

commit 4ea3af48a761250e47694842ae01bccb1a25aa64

    authorize mc3/sefran edit-level users to edit 'AUTO'-type events

commit f6aa24b73f64d384340bfc58f58d435ce03accf2

    mc3.pl: add ID in dump csv file + fix a minor issue

commit d8f6fa7a5c8eab7e034ef3b445deda0aa577b393

    some fixes and improve of superproc gnss.

commit bbe6940bb70892cb974fe2c2dceed8cce254b131

    fix a possible issue with temporary directory in mkexport

commit af9b7a8fe3b1244d9b69a5a5b3a6eac116201296

    fix some missing variables in proc templates

commit b2252abb8e7585242d3cbb1001f99e815b72c51d

    first commit for GNSS automatic GipsyX processing scripts

commit eef1ddcffc31a0c85726f87ea0721710112904c8

    fix a minor verbose issue in readcfg.m (issue #9)

commit 56fc8b68f217e110fa71419fa0b851225c826afd

    minor update to README.

commit a09d9954251f9e9ba8d5f865e3945b10b5f2b206

    better generic fix to issue #10

commit b04aff89862baa154d9d04c7d2f248b5921538bc

    fix issue #10

commit 50bc3f930765dcf693155bd98b3c880eded20aa3

    Remove debugging output from readcfg.m
    
    Remove debugging output forgotten in the latest changes of the file.

commit 956af18db465e9943ea094b159215021200d7238

    user manual genplot marker/line possibilities

commit 7e8e99f7c580a7a3dff3167e915776a5caf21aee

    improves URL key in GRIDs conf

commit f8f5013a376233b90e6dc79fc8ef6b1d74dec59e

    fix issue #9 (variable substitution in node config)

commit 25e48f8df9731316557e0569f2a0e88108911bde

    Complete genplot description in user manual
    
    - fix a duplicate table reference in appendix
    - clarify description of channel selection, and titles, markers and line
      customization in chapter 3.

commit 06e852fa12ab6897d645727558588b366f12f9a4

    propagates fix to the single-data issue

commit 4762338605c6e57fcdbf3f63e8210d6332acaec9

    better fix to the underscode issue

commit d60f2169b4793672196c72ef2c9e805f871c3d80

    bug fix for all procs when only 1 data sample in a graph

commit 5aa9dd8cc4c518a4432015affcad06e76e0560af

    another try for underscore issue (after reverting previous commit)

commit de7b842c579717f64f382a237736c5b3ccd77c5d

    Revert "new try to solve the underscore issue..."
    
    This reverts commit c27889607eb2cf4adf4a6dce2662d6d7a544f723.

commit c27889607eb2cf4adf4a6dce2662d6d7a544f723

    new try to solve the underscore issue...

commit 269c70c3e7e1b3450d4507199de9cac6aa56673d

    fix underscore issue with varsub()

commit 8642dce81e99e14362b052d194e1297048701ab4

    fix underscore issue in ALIAS underscore display

commit 6b9096f2b2e2922edb7c3bc4d8d149e60e1a0e5e

    add some suggestions for Ubuntu first install

commit 75f5a1cc182bdf635f729795824bb87709471196

    minor fixes

commit 30f8abb63deabebb56ccf465ad193e9870b18b1d

    fix on default date selection

commit 692110c665370f1df1ef7adda0353d67efb4201e

    fixes on gnss superproc and new gispyx data format

commit ca6dcd098de09d2f4f5e1121d495dddc109b1065

    add GNSS GipsyX .tdp data format

commit d50cb0b3630513558b39c9bec4363bf1bfd1b987

    fix a bug in setup when ommitting user login

commit 4b8f5bc6a6c9f38794e64951cd520b6c6ec4957e

    add link to event's display in vsearch.pl

commit 9ff6b939d01cbffd9ae0913e5a3135f91950d031

    few fixes related to vsearch.pl

commit 06240772daa396470a5413f97e9f23649e7fc78f

    specific icon for the new search tool

commit 659e0a5a150a88ffd524c76c026b3b098e860513

    new node events search form tool (main codes)

commit 627dd40f020db9d416512f0f26ac6a06e09c77ed

    minor fix in readnodes.m

commit 990a2ddecabab24689d9e727cda8c66a94e42af4

    new form to search node's events (based on OVPF/GLPI)

commit da1e3cf0bf9aab1f8a3e60e592529da3463673be

    Add mc3stats configuration template

commit 11ecbff79ddd0f23285a7aba07b7abd35b7f39e8

    fix an issue in mc3.pl

commit 5bff8962763d132852a9663186ce17b21d0c8586

    remove legacy code formEVENTNODE.pl (replaced by vedit.pl)

commit 50038dbe3ffdd43f0d0ffc8f127f2e70cf1cd375

    Bug corrections and graphic update
    Add data export for SWARM

commit 52193e8af23f791ec3a7b4e8aa30bcd96c52d8e2

    MC3 format: minor fix + new variables in default conf

commit 02b3f9d146e1c8914fc34d8bcae10ed9bc02aaa5

    First commit of MC3 statistics superproc

commit d7be38f852237141f2a53f9e443e4f77dc008906

    Add P-wave velocity and Vp/Vs configuration for distance estimation
    based on S-P time

commit 43349fa38b0cf7eb0666157c851cf559e585a075

    New data format available : MainCourante files

----------------------------------------------------------------------------------------------------
