Compare commits
17 Commits
feature/va
...
main
Author | SHA1 | Date | |
---|---|---|---|
fb9b623aa6 | |||
bd300c2b07 | |||
736009b75d | |||
7e2ea42f52 | |||
bd01b7cba4 | |||
6d62279199 | |||
94d6e63b0f | |||
4e97e09466 | |||
4e14f49d98 | |||
d204bdd8e5 | |||
dc367000ba | |||
2decf93012 | |||
952746e6cd | |||
779602d821 | |||
86a65108cc | |||
95fb75ef14 | |||
a91616d003 |
@ -1,4 +1,4 @@
|
|||||||
# Version: VVVVV
|
# Version: v1.3 (2023-04-17)
|
||||||
FROM nginx:alpine
|
FROM nginx:alpine
|
||||||
|
|
||||||
# set labels
|
# set labels
|
||||||
|
@ -9,7 +9,7 @@ services:
|
|||||||
build:
|
build:
|
||||||
context: .
|
context: .
|
||||||
dockerfile: Dockerfile
|
dockerfile: Dockerfile
|
||||||
image: seisobs-map:dev
|
image: seisobs-map:v1.1
|
||||||
networks:
|
networks:
|
||||||
- seisobs
|
- seisobs
|
||||||
volumes:
|
volumes:
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
# Version: VVVVV
|
# Version: v1.3 (2023-04-17)
|
||||||
server {
|
server {
|
||||||
listen 80;
|
listen 80;
|
||||||
listen [::]:80;
|
listen [::]:80;
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
# Version: VVVVV
|
# Version: v1.3 (2023-04-17)
|
||||||
user nginx;
|
user nginx;
|
||||||
worker_processes 1;
|
worker_processes 1;
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
# Version: VVVVV
|
# Version: v1.3 (2023-04-17)
|
||||||
|
|
||||||
# get starting date
|
# get starting date
|
||||||
# find gdate or date command ( OSX: brew install coreutils)
|
# find gdate or date command ( OSX: brew install coreutils)
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
AJAX calls to the Nominatim service small, e. g. :
|
AJAX calls to the Nominatim service small, e. g. :
|
||||||
curl -s "https://fdsnws.geophysik.ruhr-uni-bochum.de/fdsnws/event/1/query?minlat=50&maxlat=54&minlon=3&maxlon=10&minmag=1" | mkGeolocationTable.py > geolocationTable.js
|
curl -s "https://fdsnws.geophysik.ruhr-uni-bochum.de/fdsnws/event/1/query?minlat=50&maxlat=54&minlon=3&maxlon=10&minmag=1" | mkGeolocationTable.py > geolocationTable.js
|
||||||
|
|
||||||
Version: VVVVV
|
Version: v1.3 (2023-04-17)
|
||||||
|
|
||||||
License
|
License
|
||||||
Copyright 2020-2021 Kasper D. Fischer <kasper.fischer@rub.de>
|
Copyright 2020-2021 Kasper D. Fischer <kasper.fischer@rub.de>
|
||||||
@ -125,7 +125,7 @@ if __name__ == "__main__":
|
|||||||
|
|
||||||
# parse arguments
|
# parse arguments
|
||||||
import argparse
|
import argparse
|
||||||
versionText = 'VVVVV'
|
versionText = 'v1.3 (2023-04-17)'
|
||||||
parser = argparse.ArgumentParser(
|
parser = argparse.ArgumentParser(
|
||||||
description='Reverse geocoding lookup of events in xml format (stdin).',
|
description='Reverse geocoding lookup of events in xml format (stdin).',
|
||||||
epilog=versionText)
|
epilog=versionText)
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
# version: VVVVV
|
# version: v1.3 (2023-04-17)
|
||||||
function fail {
|
function fail {
|
||||||
printf '%s\n' "$1" >&2 ## Send message to stderr.
|
printf '%s\n' "$1" >&2 ## Send message to stderr.
|
||||||
exit "${2-1}" ## Return a code specified by $2, or 1 by default.
|
exit "${2-1}" ## Return a code specified by $2, or 1 by default.
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
Get waveform data from FDSN web service and create a fancy plot
|
Get waveform data from FDSN web service and create a fancy plot
|
||||||
This programme runs as a script or as a WSGI application.
|
This programme runs as a script or as a WSGI application.
|
||||||
|
|
||||||
:version VVVVV
|
:version v1.1 (2021-10-31)
|
||||||
|
|
||||||
:license
|
:license
|
||||||
Copyright 2020 Kasper Fischer <kasper.fischer@ruhr-uni-bochum.de>
|
Copyright 2020 Kasper Fischer <kasper.fischer@ruhr-uni-bochum.de>
|
||||||
@ -378,7 +378,7 @@ if __name__ == "__main__":
|
|||||||
epilog=u'$Revision$ ($Date$, $Author$)'.replace(
|
epilog=u'$Revision$ ($Date$, $Author$)'.replace(
|
||||||
"$", ""))
|
"$", ""))
|
||||||
parser.add_argument(u'-v', u'-V', u'--version', action='version',
|
parser.add_argument(u'-v', u'-V', u'--version', action='version',
|
||||||
version=u'VVVVV')
|
version=u'v1.1 (2021-10-31)')
|
||||||
parser.add_argument(u'-u', u'--url', action='store', dest='server',
|
parser.add_argument(u'-u', u'--url', action='store', dest='server',
|
||||||
default=u'https://ariadne.geophysik.ruhr-uni-bochum.de',
|
default=u'https://ariadne.geophysik.ruhr-uni-bochum.de',
|
||||||
help=u'Base URL of the FDSN web service (https://ariadne.geophysik.ruhr-uni-bochum.de).')
|
help=u'Base URL of the FDSN web service (https://ariadne.geophysik.ruhr-uni-bochum.de).')
|
||||||
|
@ -8,7 +8,7 @@ def application(environ, start_response):
|
|||||||
:return: response to be sent to the client by the wsgi server
|
:return: response to be sent to the client by the wsgi server
|
||||||
:rtype: list
|
:rtype: list
|
||||||
|
|
||||||
:version: VVVVV
|
:version: v1.2 (2022-02-23)
|
||||||
"""
|
"""
|
||||||
|
|
||||||
from cgi import FieldStorage
|
from cgi import FieldStorage
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
"""
|
"""
|
||||||
Produce a dayplot from seismogram recordings
|
Produce a dayplot from seismogram recordings
|
||||||
|
|
||||||
version: VVVVV
|
version: v1.2 (2022-02-23)
|
||||||
|
|
||||||
license: gpl3
|
license: gpl3
|
||||||
Copyright 2012-2020 Seismological Observatory, Ruhr-University Bochum
|
Copyright 2012-2020 Seismological Observatory, Ruhr-University Bochum
|
||||||
|
@ -6,6 +6,7 @@ var specialEvents = [
|
|||||||
// 'bug2016vico', // Central Italy 6.5
|
// 'bug2016vico', // Central Italy 6.5
|
||||||
// 'bug2017rfxe', // CTBT violation North Korea 6.1
|
// 'bug2017rfxe', // CTBT violation North Korea 6.1
|
||||||
// 'bug2019fura', // Sprengung Duisburg-Hochheide (Weißer Riese) 2.0
|
// 'bug2019fura', // Sprengung Duisburg-Hochheide (Weißer Riese) 2.0
|
||||||
'bug2021vtgi', // Geilenkirchen 1.9
|
// 'bug2021vtgi', // Geilenkirchen 1.9
|
||||||
'bug2022ahxi' // Erftstadt 2.9
|
// 'bug2022ahxi', // Erftstadt 2.9
|
||||||
|
'bug2023hlmh' // Brüggen 3.3
|
||||||
];
|
];
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
You should have received a copy of the GNU General Public License along
|
You should have received a copy of the GNU General Public License along
|
||||||
with this program. If not, see http://www.gnu.org/licenses/.
|
with this program. If not, see http://www.gnu.org/licenses/.
|
||||||
|
|
||||||
Version VVVVV
|
Version v1.3 (2023-04-17)
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* adding row(s) to a table and format date strings afterwards */
|
/* adding row(s) to a table and format date strings afterwards */
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
You should have received a copy of the GNU General Public License along
|
You should have received a copy of the GNU General Public License along
|
||||||
with this program. If not, see http://www.gnu.org/licenses/.
|
with this program. If not, see http://www.gnu.org/licenses/.
|
||||||
|
|
||||||
Version VVVVV
|
Version v1.3 (2023-04-17)
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* adding row(s) to a table and format date strings afterwards */
|
/* adding row(s) to a table and format date strings afterwards */
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<!-- Version VVVVV -->
|
<!-- Version v1.3 (2023-04-17) -->
|
||||||
<html xmlns='http://www.w3.org/1999/xhtml' xml:lang='de' lang='de'>
|
<html xmlns='http://www.w3.org/1999/xhtml' xml:lang='de' lang='de'>
|
||||||
<head>
|
<head>
|
||||||
<meta http-equiv="content-type" content="text/html;charset=UTF-8" />
|
<meta http-equiv="content-type" content="text/html;charset=UTF-8" />
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<!-- Version VVVVV -->
|
<!-- Version v1.3 (2023-04-17) -->
|
||||||
<html xmlns='http://www.w3.org/1999/xhtml' xml:lang='de' lang='de'>
|
<html xmlns='http://www.w3.org/1999/xhtml' xml:lang='de' lang='de'>
|
||||||
<head>
|
<head>
|
||||||
<meta http-equiv="content-type" content="text/html;charset=UTF-8" />
|
<meta http-equiv="content-type" content="text/html;charset=UTF-8" />
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
You should have received a copy of the GNU General Public License along
|
You should have received a copy of the GNU General Public License along
|
||||||
with this program. If not, see https://www.gnu.org/licenses/.
|
with this program. If not, see https://www.gnu.org/licenses/.
|
||||||
|
|
||||||
Version VVVVV
|
Version v1.3 (2023-04-17)
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* add station marker */
|
/* add station marker */
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
You should have received a copy of the GNU General Public License along
|
You should have received a copy of the GNU General Public License along
|
||||||
with this program. If not, see https://www.gnu.org/licenses/.
|
with this program. If not, see https://www.gnu.org/licenses/.
|
||||||
|
|
||||||
Version VVVVV
|
Version v1.3 (2023-04-17)
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* add station marker */
|
/* add station marker */
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
**********************************************************************/
|
**********************************************************************/
|
||||||
|
|
||||||
/* License
|
/* License
|
||||||
Copyright 2014-2021 Kasper D. Fischer <kasper.fischer@rub.de>
|
Copyright 2014-2023 Kasper D. Fischer <kasper.fischer@rub.de>
|
||||||
|
|
||||||
This program is free software: you can redistribute it and/or modify it
|
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
|
under the terms of the GNU General Public License as published by the Free
|
||||||
@ -19,7 +19,7 @@
|
|||||||
You should have received a copy of the GNU General Public License along
|
You should have received a copy of the GNU General Public License along
|
||||||
with this program. If not, see http://www.gnu.org/licenses/.
|
with this program. If not, see http://www.gnu.org/licenses/.
|
||||||
|
|
||||||
Version VVVVV
|
Version v1.3 (2023-04-17)
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* calculate marker radius from magnitude
|
/* calculate marker radius from magnitude
|
||||||
@ -198,6 +198,10 @@ $(document).ready(function() {
|
|||||||
config['tab']['active'] = Number(parameters['tab']);
|
config['tab']['active'] = Number(parameters['tab']);
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
if ( Number(parameters['zoom']) ) {
|
||||||
|
config['map']['zoomDefault'] = Number(parameters['zoom']);
|
||||||
|
config['map']['zoomFocus'] = Number(parameters['zoom']+3);
|
||||||
|
};
|
||||||
|
|
||||||
// AJAX setup
|
// AJAX setup
|
||||||
$.ajaxSetup({timeout: config['ajax']['timeout']});
|
$.ajaxSetup({timeout: config['ajax']['timeout']});
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
You should have received a copy of the GNU General Public License along
|
You should have received a copy of the GNU General Public License along
|
||||||
with this program. If not, see http://www.gnu.org/licenses/.
|
with this program. If not, see http://www.gnu.org/licenses/.
|
||||||
|
|
||||||
Version VVVVV
|
Version v1.3 (2023-04-17)
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* Load the stations using ajax */
|
/* Load the stations using ajax */
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
You should have received a copy of the GNU General Public License along
|
You should have received a copy of the GNU General Public License along
|
||||||
with this program. If not, see http://www.gnu.org/licenses/.
|
with this program. If not, see http://www.gnu.org/licenses/.
|
||||||
|
|
||||||
Version VVVVV
|
Version v1.3 (2023-04-17)
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* Load the stations using ajax */
|
/* Load the stations using ajax */
|
||||||
|
Loading…
Reference in New Issue
Block a user