Skip to content

Commit

Permalink
Add basic configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
FMassin committed Nov 10, 2023
1 parent 2836fd5 commit 30c649e
Show file tree
Hide file tree
Showing 7 changed files with 954 additions and 0 deletions.
Binary file added dist/data/icons/event.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added dist/data/icons/sed.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added dist/data/icons/target.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
171 changes: 171 additions & 0 deletions dist/eewd.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,171 @@
# URL of the map properties file
mapProperties = file:openmap.properties

# path to the target configuration file
targetFile = targets.csv

# path to the station configuration file
stationFile = stations.csv

# path to the log and scenario directory
eventArchive = data/events/

# path to the logo icon
logoIcon = data/icons/sed.png

# path to the target icon
targetIcon = data/icons/target.png

# path to the event icon
eventIcon = data/icons/event.png

# show the taget name
showTargetName = true

# radius of the blind zone surrounding a target in which the lead time of the
# approaching S-wave is negative due to the processing time
blindZoneRadius = 30

# show all configured stations
showStations = true

# show station name
showStationName = false

# highlight stations participating in an ongoing event
showUsedStations = false

# color the station according to the amplitude of the preferred shaking parameter
# NOT YET IMPLEMENTED
showStationShaking = false

# display an alert level icon next to the station
# NOT YET IMPLEMENTED
showStationAlert = false

# velocity of the primary wave in km/s
vp = 5.5

# velocity of the secondary wave in km/s
vs = 3.3

# number of seconds after the event progress is stopped
timeoutAfterOriginTime = 60.0

# bring application to front in case a new event arrives
# NOT YET IMPLEMENTED
toFront = true

# alert sound to play on new event arrival
alertSound = data/sound/event.wav

# number of times to repeat alert sound, default = 0
alertSoundLoop = 1

# countdown sound to play prior to S-Wave arrival
countdownSound = data/sound/countdown.wav

# number of seconds prior to S-wave arrival to start playing countdownSound
countdownSeconds = 10.8

# shake map configuration file
shakeMap.file = data/RegionalAmpliProxy.csv

# allowed values: PGA, PGV, PSA, DRS, Intensity
shakeMap.parameter = Intensity

# minimum value to pin to the first color of the gradient
shakeMap.minValue = 3

# maximum value to pin to the last color of the gradient
shakeMap.maxValue = 9

# use a logarithmic scale for distributing the shake map colors between minValue
# and maxValue
shakeMap.logScale = false


# ground motion implementations and parameters
gmpe.pga.class = org.reakteu.eewd.gmpe.impl.Swiss
gmpe.pgv.class = org.reakteu.eewd.gmpe.impl.Swiss
gmpe.psa.class = org.reakteu.eewd.gmpe.impl.Swiss
##gmpe.psa.class = org.reakteu.eewd.gmpe.impl.LookupTable
gmpe.drs.class = org.reakteu.eewd.gmpe.impl.Swiss
#ipe.intensity.class = org.reakteu.eewd.ipe.impl.AEA12
#gmpe.pga.class = org.reakteu.eewd.gmpe.impl.Cli94
#gmpe.pga.class = org.reakteu.eewd.gmpe.impl.ZEA06ASC
#gmpe.pga.class = org.reakteu.eewd.gmpe.impl.ZEA06IFC
#gmpe.pga.class = org.reakteu.eewd.gmpe.impl.ZEA06ITS
#gmpe.pga.class = org.reakteu.eewd.gmpe.impl.YOU97IFC
#gmpe.pga.class = org.reakteu.eewd.gmpe.impl.YOU97ITS
#gmpe.pga.class = org.reakteu.eewd.gmpe.impl.CentralAmerica
#gmpe.pgv.class = org.reakteu.eewd.gmpe.impl.CEA2014
#gmpe.psa.class = org.reakteu.eewd.gmpe.impl.CentralAmerica
#gmpe.drs.class = org.reakteu.eewd.gmpe.impl.CentralAmerica
#gmpe.pga.class = org.reakteu.eewd.gmpe.impl.SCH2014
#gmpe.psa.class = org.reakteu.eewd.gmpe.impl.SCH2014
#gmpe.drs.class = org.reakteu.eewd.gmpe.impl.SCH2014


# directory containing gmpe lookup tables, search names
# pgv.inp, pgv84.inp, pgv16.inp
# pga.inp, pga84.inp, pga16.inp
# psa[1..n].inp, psa[1..n]_84.inp, psa[1..n]_16.inp
# drs[1..n].inp, drs[1..n]_84.inp, drs[1..n]_16.inp
lookupTable.dataDir = data/gmpe

# derive intensity from ground motion parameter
gmice.pga.class = org.reakteu.eewd.gmice.impl.Swiss
#gmice.pgv.class = org.reakteu.eewd.gmice.impl.Swiss

# used for PSA and DRS calculation
controlPeriod = 1

# vector of spectral periods to compute PSA/DRS values visible in spectrum plot
# NOTE: Make sure that the configured PSA/DRS implementation supports the configured periods
spectrum.periods = .1, .2, .5, 1, 2, 4

# use a logarithmic scale for the periods on the X-axis
spectrum.logScale = true

# reference values shown as green and red graph in spectrum plot
spectrum.reference1 = .1, .1, .1, .1, .1, .1
spectrum.reference2 = .2, .2, .2, .2, .2, .2


# allowed values: PSA, DRS
spectrum.parameter = PSA

# display periods as frequencies
useFrequencies = false

# calculate distances in respected to hypocenter or epicenter
# NOT YET IMPLEMENTED
rIsHypocentral = true

ampliProxyName = "VS30"

radiusOfInfluence = 5
stationDisplacementThreshold = 0.002
stationTauCThreshold = 0.

# minimum magnitude threshold
#filter.minimumMagnitude = 8.0

# minimum likelihood threshold, if sets events without likelihood information
# are ignored
#filter.minimumLikelihood = 0.5

# messaging connection parameters
connection.host = localhost
connection.port = 61618
connection.topic = /topic/eewd
connection.username = admin
connection.password = admin

# interval in seconds a keep alive message is expected, if no message is
# received a reconnect attempt is made, use 0 to deactivate this feature
connection.keepaliveInterval = 10.0

# maximum tolerated latency in seconds
connection.maxLatency = 2.0
Loading

0 comments on commit 30c649e

Please sign in to comment.