[installation] Change to nightly

This commit is contained in:
2025-10-30 12:04:59 +01:00
parent 2ff097f9d1
commit a31bc45cce
1441 changed files with 60368 additions and 56360 deletions

View File

@ -112,27 +112,39 @@ The following example configuration shows a setup of screloc for
Examples
========
* Run screloc to with a specific velocity model given in a profile by :ref:`NonLinLoc <global_nonlinloc>`.
Use a specific userID and authorID for uniquely recognizing the relocation.
Changing the priority in :ref:`scevent` before running the example, e.g. to
TIME_AUTOMATIC, sets the latest origin (which will be created by screloc) to preferred.
* Relocate all origins given in an :term:`SCML` file according to the
configuration of :program:`screloc`. Write all output to unformatted SCML.
.. code-block:: sh
# set specific velocity profile defined for NonLinLoc
profile=<your_profile>
# set userID
userID="<your_user>"
# set authorID
authorID="<screloc>"
screloc -d localhost --ep origins.xml > origins_screloc.xml
for i in `scevtls -d mysql://sysop:sysop@localhost/seiscomp --begin '2015-01-01 00:00:00' --end '2015-02-01 00:00:00'`; do
* Relocate the previously preferred origins of all events (:ref:`scevtls`)
within some period of time using a specific :ref:`locator <concepts_locators>`
and locator profile.
Use some userID and authorID for uniquely recognizing the relocation.
Configuring the ref:`scevent` parameter :confval:`eventAssociation.priorities`
to TIME_AUTOMATIC before running the example will prefer the latest origin
(which will be created by screloc) for the event the new origin is associated
to. The new origins are automatically sent to the messaging.
orgID=`echo "select preferredOriginID from Event,PublicObject where Event._oid=PublicObject._oid and PublicObject.publicID='$i'" |\
mysql -u sysop -p sysop -D seiscomp -h localhost -N`
.. code-block:: sh
screloc -O $orgID -d localhost --locator NonLinLoc --profile $profile -u $userID --debug --author=$authorID
#!/bin/bash
# locator type
locator=[your_locator]
# locator profile
profile=[your_profile]
# set some userID
userID=[your_user]
# set some authorID
authorID=[screloc]
IFS=',' read -ra events <<< `scevtls -d localhost -p -D , --begin 2025-01-01 --end 2025-02-01`
for event in "${events[@]}"; do
preferredOrigin=$(echo $event | awk '{print $2}')
screloc -d localhost -O $preferredOrigin --locator $locator --profile $profile -u $userID --author=$authorID
done
@ -253,6 +265,28 @@ screloc inherits :ref:`global options<global-configuration>`.
If not defined, a new publicID will be generated automatically.
.. note::
**picks.\***
*Parameters specific to picks.*
.. confval:: picks.streamsSetUnused
Type: *list:string*
List of streams from which picks are set to unsed by their
referencing arrivals before locating. The concerned arrivals
are kept but the picks will not be used for locating.
Streams take the format NET.STA.LOC.CHA. Wildcards \* and ?
are supported.
Example:
GE.MOX.\*.HH? : All arrivals on any HH stream of station MOX
will be kept but not used for locating.
Command-Line Options
====================
@ -361,18 +395,22 @@ Messaging
Overrides configuration parameter :confval:`connection.username`.
.. option:: -H, --host arg
Overrides configuration parameter :confval:`connection.server`.
.. option:: -t, --timeout arg
Overrides configuration parameter :confval:`connection.timeout`.
.. option:: -g, --primary-group arg
Overrides configuration parameter :confval:`connection.primaryGroup`.
.. option:: -S, --subscribe-group arg
A group to subscribe to.
@ -382,8 +420,13 @@ Messaging
Overrides configuration parameter :confval:`connection.contentType`.
Default: ``binary``
.. option:: --start-stop-msg arg
Default: ``0``
Set sending of a start and a stop message.
@ -418,36 +461,56 @@ Database
Mode
----
.. option:: --dump
Dump processed origins as XML to stdout. Use in combination
with \-O.
.. option:: --test
Test mode, do not send any message
Test mode, do not send any message.
Input
-----
.. option:: -O, --origin-id arg
Reprocess the origin and send a message unless test mode is activated
.. option:: --locator arg
The locator type to use
Overrides configuration parameter :confval:`reloc.locator`.
.. option:: --use-weight arg
Use current picks weight
.. option:: --profile arg
.. option:: --evaluation-mode arg
Overrides configuration parameter :confval:`reloc.profile`.
set origin evaluation mode: \"AUTOMATIC\" or \"MANUAL\"
.. option:: --ep file
.. option:: --ep arg
Defines an event parameters XML file to be read and processed. This
implies offline mode and only processes all origins contained
in that file. Each relocated origin is appended to the list
of origins unless \-\-replace is given.
Event parameters XML file for offline processing of all
contained origins. This option should not be mixed with
\-\-dump.
.. option:: -O, --origin-id arg
Reprocess the origin and send a message unless test mode is
activated.
.. option:: --use-weight
Overrides configuration parameter :confval:`reloc.useWeight`.
.. option:: --streams-set-unused arg
Overrides configuration parameter :confval:`picks.streamsSetUnused`.
Type: *list:string*
List of streams from which picks are set to unsed by their
referencing arrivals before locating. The concerned arrivals
are kept but the picks will not be used for locating.
Streams take the format NET.STA.LOC.CHA. Wildcards \* and ?
are supported.
.. option:: --replace
@ -457,6 +520,23 @@ Input
NonLinLoc origins out. All other objects are passed through.
Output
------
.. option:: --evaluation-mode
Evaluation mode of the new origin \(AUTOMATIC or MANUAL\).
.. option:: -f, --formatted
Use formatted XML output. Otherwise XML is unformatted.
.. option:: --origin-id-suffix
Create origin ID from that of the input origin plus the
specfied suffix.
Profiling
---------
@ -466,5 +546,7 @@ Profiling
.. option:: --repeated-relocations arg
improve measurement of relocation time by running each relocation multiple times. Specify the number of relocations, e.g. 100.
Improve measurement of relocation time by running each
relocation multiple times. Specify the number of relocations,
e.g. 100.