[seiscomp, scanloc] Install, add .gitignore

This commit is contained in:
2025-10-09 15:07:02 +02:00
commit 20f5301bb1
2848 changed files with 1315858 additions and 0 deletions

52
share/doc/hypo71/README Normal file
View File

@ -0,0 +1,52 @@
########################################################################
# #
# Copyright (C) 2012 OVSM/IPGP #
# #
# 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. #
# #
# This program is part of 'Projet TSUAREG - INTERREG IV Caraïbes'. #
# It has been co-financed by the European Union and le Ministère de #
# l'Ecologie, du Développement Durable, des Transports et du Logement. #
# #
########################################################################
# #
# Hypo71 earthquake location plugin for SeisComP #
# #
# Authors: Jean-Marie SAUREL / Stephen ROSELIA #
# Emails : saurel@ipgp.fr / stephen.roselia@supinfo.com #
# #
########################################################################
# #
# HYPO71 is a computer program for determining hypocenter, magnitude, #
# and first motion pattern of local earthquakes, and was first #
# released in 1971. It is perhaps the first earthquake location #
# program that achieved worldwide usage, as evidenced by the fact that #
# about 1,000 copies of the HYPO71 manual were requested and #
# distributed (Lee, 1990). It is included here for historical #
# documentation. #
# #
# http://www.jclahr.com/science/software/hypo71/index.html #
# #
########################################################################
# #
# How to make it work: #
# #
# Load the plugin in scolv.cfg -> plugins = hypo71 #
# Add content of examples/hypo71.cfg, edit properly paths, permissions #
# #
# Copy examples/hypo71/ into share/hypo71/ #
# Edit run.sh and make paths match accordingly to those specified #
# in scolv.cfg #
# #
########################################################################

View File

@ -0,0 +1,61 @@
########################################################################
# #
# Copyright (C) 2012 OVSM/IPGP #
# #
# 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. #
# #
# This program is part of 'Projet TSUAREG - INTERREG IV Caraïbes'. #
# It has been co-financed by the European Union and le Ministère de #
# l'Ecologie, du Développement Durable, des Transports et du Logement. #
# #
########################################################################
# #
# @file hypo71.cfg #
# @author Stephen Roselia <stephen.roselia@supinfo.com> #
# @author Jean-Marie Saurel <saurel@ipgp.fr> #
# @version 1.1 #
# @brief Hypo71 plugin configuration #
# #
########################################################################
# Hypo71 input file to process (generated by plugin)
hypo71.inputFile = @DATADIR@/hypo71/HYPO71.INP
# Hypo71 log file to store ZTR calculation and final results
hypo71.logFile = @LOGDIR@/HYPO71.LOG
# Hypo71 output file to read results from (generated by binary)
hypo71.outputFile = @DATADIR@/hypo71/HYPO71.PRT
# Hypo71 script called by plugin
hypo71.hypo71ScriptFile = @DATADIR@/hypo71/run.sh
# Hypo71 default profile
hypo71.defaultControlFile = @DATADIR@/hypo71/profiles/default.hypo71.conf
# Hypo71 origin patternID
hypo71.publicID = Hypo71.@time/%Y%m%d%H%M%S.%f@.@id@
# Should we use the custom patternID ?
hypo71.useHypo71PatternID = false
# Hypo71 custom profiles examples
hypo71.profiles = ModelA
hypo71.profile.Tectonic.earthModelID = "My Velocity Model A"
hypo71.profile.Tectonic.methodID = Hypo71PC
hypo71.profile.Tectonic.controlFile = @DATADIR@/hypo71/profiles/profile.a.conf

View File

@ -0,0 +1,6 @@
HYPO71.INP
HYPO71.PRT
HYPO71.OUT

View File

@ -0,0 +1,76 @@
############################################################
## HYPO71 SeisComP Plugin ##
## @OVSM-IPGP ##
## ##
## Default configuration file! ##
## Checkout Hypo71 Manual for more informations about the ##
## Fortran's script variables configuration. ##
############################################################
################
# !RESET LIST! #
################
TEST(01) = .1 # sec # cutoff RMS value under which Jeffrey's weghting of residuals is not used
TEST(02) = 10. # km #
TEST(03) = 0.2 # critical F-value for the stepwise multiple regression - default value is 2, lower value means more steps
TEST(04) = .01 # km # adjustment value under which Geiger's iteration is terminated - default value is .05, lower value means more steps
TEST(05) = 5. # km # focal-depth value above which DZ is rest to DZ / (K+1)
TEST(06) = 4. # regression TEST(03)/TEST(06) coefficient value if no significant variable is found in the stepwise multiple regression
TEST(07) = -.87 # FMA coefficient value for calculating the duration magnitude - not used
TEST(08) = 2. # FMB coefficient value for calculating the duration magnitude - not used
TEST(09) = .0035 # FMD coefficient value for calculating the duration magnitude - not used
TEST(10) = 2. # km # coefficient value J = D/TEST(10) used for resetting DX and DY - default value is 100, lower value allows smaller steps
TEST(11) = 999. # maximum number of iterations in the hypocentral adjustment - default value is 8, computer are now able to handle much more iterations
TEST(12) = .5 # coefficient value DZ = -Z*TEST(12) used for resetting DZ when hypocenter is placed in the air
TEST(13) = 1. # km # standard error value of hypocentral optionally calculated RMS
## The following values are only available with the Hypo71PC version modified by Alexandre Nercessian (IPGP) which is included with this plugin
TEST(15) = -2. # km # maximum altitude of earthquake in km (down is positive)
TEST(20) = 1. # used altitude = read altitude * TEST(20) - for example, -2500 = -250 * 10
########################
# !CRUSTAL MODEL LIST! #
########################
## list of velocities for each layer
CRUSTAL_VELOCITY_MODEL = 3.50, 6.00, 7.00, 8.00
## list of top layer boundary in km
CRUSTAL_DEPTH_MODEL = 0.00, 3.00, 15.00, 30.00
##################
# !CONTROL CARD! #
##################
# Mandatory parameters!
ZTR = 5. # km # trial focus depth - this can be a list of different trial depth separated by coma (recommended if you expect earthquakes from 0 to 200km depth)
XNEAR = 50. # km # distance from epicenter up to which the distance weighting is 1 - arrivals weight is not altered
XFAR = 200. # km # distance from epicenter beyond which the distance weighting is 0 - arrivals are not taken into account beyond this distance
POS = 1.78 # ratio of P-wave velocity to S-wave velocity
# Non alterable parameters!
IPUN = 1 # indicator for punched cards - Don't change
IPRN = 1 # indicator for printed output - Don't change
KSORT = # 1 or blank # sort stations by distance in the output ? - Don't change
# Optional parameters!
KFM = 15 # minimum number of first motion readings required before it is plotted - Not used
KTEST = # 1 or blank # solution is at RMS minimum ? - Not used
KAZ = # 1 or blank # apply azimuthal weighting of stations ?
# Disable the definition of a starting point ? true or false
# If set to false, then a starting point as to be defined with LAT1, LAT2, LON1, LON2 and ZTR values - Not recommended
USE_TRIAL_POSITION = false
######################
# !INSTRUCTION CARD! #
######################
KNST = 1 # use S data ? - usually you would want to use S arrivals
INST = 0 # fix depth ? - usually you don't want to use a fixed depth

View File

@ -0,0 +1,66 @@
############################################################
## HYPO71 SeisComP Plugin ##
## @OVSM-IPGP ##
## ##
############################################################
## This profile is based on Dorel velocity model for French Antilles
## It allows several iterations at different starting depth for deep and crustal earthquakes
##############
# Reset List #
##############
TEST(01) = .1 # sec # cutoff RMS value under which Jeffrey's weghting of residuals is not used
TEST(02) = 50. # km #
TEST(03) = 0.2 # critical F-value for the stepwise multiple regression
TEST(04) = .01 # km # adjustment value under which Geiger's iteration is terminated
TEST(05) = 5. # km # focal-depth value above which DZ is rest to DZ / (K+1)
TEST(06) = 4. # regression TEST(03)/TEST(06) coefficient value if no significant variable is found in the stepwise multiple regression
TEST(10) = 2. # km # coefficient value J = D/TEST(10) used for resetting DX and DY
TEST(11) = 999. # maximum number of iterations in the hypocentral adjustment
TEST(12) = .5 # coefficient value DZ = -Z*TEST(12) used for resetting DZ when hypocenter is placed in the air
TEST(13) = 1. # km # standard error value of hypocentral optionally calculated RMS
## The following values are only available with the Hypo71PC version modified by Alexandre Nercessian (IPGP) which is included with this plugin
TEST(15) = -2. # km # maximum altitude of earthquake in km (down is positive)
TEST(20) = 1. # used altitude = read altitude * TEST(20) - for example, -2500 = -250 * 10
######################
# Crustal Model List #
######################
CRUSTAL_VELOCITY_MODEL = 3.50, 6.00, 7.00, 8.00
CRUSTAL_DEPTH_MODEL = 0.00, 3.00, 15.00, 30.00
################
# Control Card #
################
# MANDATORY
ZTR = 5, 20, 40, 60, 80, 100, 150, 200 # km # trial focus depth
# MANDATORY
XNEAR = 200. # km # distance from epicenter up to which the distance weighting is 1
# MANDATORY
XFAR = 450. # km # distance from epicenter beyond which the distance weighting is 0
# MANDATORY
POS = 1.76 # ratio of P-velocity to S-velocity
KAZ = 1 # 1 or blank # apply azimuthal weighting of stations ?
KSORT = 1 # 1 or blank # sort stations by distance in the output ?
# Use last localization as starting point ?
# then LAT1, LAT2, LON1, LON2 and ZTR will take origin last values
USE_TRIAL_POSITION = false
####################
# Instruction Card #
####################
KNST = 1 # use S data ?
INST = 0 # fix depth ?
#####################################
# Optionnal Weighting Look-Up Table #
#####################################
WEIGHT_UNCERTAINTY_BOUNDARIES = 0.1, 0.2, 0.5, 1.0

View File

@ -0,0 +1,61 @@
############################################################
## HYPO71 SeisComP Plugin ##
## @OVSM-IPGP ##
## ##
############################################################
## This profile is based on Dorel velocity model for French Antilles
## It allows several iterations at different starting depth for deep and crustal earthquakes
##############
# Reset List #
##############
TEST(01) = .1 # sec # cutoff RMS value under which Jeffrey's weghting of residuals is not used
TEST(02) = 50. # km #
TEST(03) = 0.2 # critical F-value for the stepwise multiple regression
TEST(04) = .01 # km # adjustment value under which Geiger's iteration is terminated
TEST(05) = 5. # km # focal-depth value above which DZ is rest to DZ / (K+1)
TEST(06) = 4. # regression TEST(03)/TEST(06) coefficient value if no significant variable is found in the stepwise multiple regression
TEST(10) = 2. # km # coefficient value J = D/TEST(10) used for resetting DX and DY
TEST(11) = 999. # maximum number of iterations in the hypocentral adjustment
TEST(12) = .5 # coefficient value DZ = -Z*TEST(12) used for resetting DZ when hypocenter is placed in the air
TEST(13) = 1. # km # standard error value of hypocentral optionally calculated RMS
## The following values are only available with the Hypo71PC version modified by Alexandre Nercessian (IPGP) which is included with this plugin
TEST(15) = -2. # km # maximum altitude of earthquake in km (down is positive)
TEST(20) = 1. # used altitude = read altitude * TEST(20) - for example, -2500 = -250 * 10
######################
# Crustal Model List #
######################
CRUSTAL_VELOCITY_MODEL = 3.50, 6.00, 7.00, 8.00
CRUSTAL_DEPTH_MODEL = 0.00, 3.00, 15.00, 30.00
################
# Control Card #
################
# MANDATORY
ZTR = 5, 20, 40, 60, 80, 100, 150, 200 # km # trial focus depth
# MANDATORY
XNEAR = 200. # km # distance from epicenter up to which the distance weighting is 1
# MANDATORY
XFAR = 450. # km # distance from epicenter beyond which the distance weighting is 0
# MANDATORY
POS = 1.76 # ratio of P-velocity to S-velocity
KAZ = 1 # 1 or blank # apply azimuthal weighting of stations ?
KSORT = 1 # 1 or blank # sort stations by distance in the output ?
# Use last localization as starting point ?
# then LAT1, LAT2, LON1, LON2 and ZTR will take origin last values
USE_TRIAL_POSITION = false
####################
# Instruction Card #
####################
KNST = 1 # use S data ?
INST = 0 # fix depth ?

View File

@ -0,0 +1,66 @@
############################################################
## HYPO71 SeisComP Plugin ##
## @OVSM-IPGP ##
## ##
############################################################
##############
# Reset List #
##############
TEST(01) = .1 # sec # cutoff RMS value under which Jeffrey's weghting of residuals is not used
TEST(02) = 10. # km #
TEST(03) = 2. # critical F-value for the stepwise multiple regression
TEST(04) = .010 # km # adjustment value under which Geiger's iteration is terminated
TEST(05) = 5. # km # focal-depth value above which DZ is rest to DZ / (K+1)
TEST(06) = 4. # regression TEST(03)/TEST(06) coefficient value if no significant variable is found in the stepwise multiple regression
TEST(10) = 100 # km # coefficient value J = D/TEST(10) used for resetting DX and DY
TEST(11) = 8. # maximum number of iterations in the hypocentral adjustment
TEST(12) = .5 # coefficient value DZ = -Z*TEST(12) used for resetting DZ when hypocenter is placed in the air
TEST(13) = 1 # km # standard error value of hypocentral optionally calculated RMS
# The following values are only available with the Hypo71PC version modified by Alexandre Nercessian (IPGP) which is included with this plugin
TEST(15) = -2. # km # maximum altitude of earthquake in km (down is positive)
TEST(20) = 1. # used altitude = read altitude * TEST(20) - for example, -2500 = -250 * 10
######################
# Crustal Model List #
######################
CRUSTAL_VELOCITY_MODEL = 3.50, 6.00, 7.00, 8.00
CRUSTAL_DEPTH_MODEL = 0.00, 3.00, 15.00, 30.00
################
# Control Card #
################
# MANDATORY
ZTR = 5, 10, 15, 20 # km # trial focus depth
# MANDATORY
XNEAR = 10. # km # distance from epicenter up to which the distance weighting is 1
# MANDATORY
XFAR = 20. # km # distance from epicenter beyond which the distance weighting is 0
# MANDATORY
POS = 1.80 # ratio of P-velocity to S-velocity
IQ = 3 # quality class of earthquake to be included in the summary of residuals
KMS = 0 # indicator to check missing data
KFM = 30 # minimum number of first motion readings required before it is plotted
IPUN = 1 # indicator for punched cards
IMAG = 1 # method of selecting earthquake magnitude
#IR = 0 # number of new system response curves to be read in
IPRN = 0 # indicator for printed output
#KTEST = # 1 or blank # solution is at RMS minimum ?
KAZ = 1 # 1 or blank # apply azimuthal weighting of stations ?
#KSORT = # 1 or blank # sort stations by distance in the output ?
#KSEL = # 1 or blank # start printed output for each earthquake on a new page ?
# Use last localization as starting point ?
# then LAT1, LAT2, LON1, LON2 and ZTR will take origin last values
USE_TRIAL_POSITION = true
####################
# Instruction Card #
####################
#IPRO = # additional instruction card
KNST = 1 # use S data ?
INST = 0 # fix depth ?
#ZRES = # trial focal depth -> replaces ZTR by ZRES

View File

@ -0,0 +1,11 @@
#!/bin/bash
HYPO71PC_BINARY=Hypo71PC
HYPO71PC_HOME=`dirname $0`
# Jumping into the right directory
cd ${HYPO71PC_HOME}/
# Executing binary with input file as argument
${SEISCOMP_ROOT}/bin/$HYPO71PC_BINARY < input