nmxptool.d 6.03 KB
Newer Older
1
#
Matteo Quintiliani's avatar
Matteo Quintiliani committed
2
#                     Configuration File for nmxptool
3
#
4
MyModuleId           MOD_NMXPTOOL
Matteo Quintiliani's avatar
Matteo Quintiliani committed
5 6
RingName             WAVE_RING           # Transport ring to write data to.

7
HeartBeatInterval    10                  # Heartbeat interval, in seconds.
Matteo Quintiliani's avatar
Matteo Quintiliani committed
8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38
LogFile              1                   # 1 -> Keep log, 0 -> no log file
                                         # 2 -> write to module log but not stderr/stdout

#ForceTraceBuf1      0                   # On systems that support TRACEBUF2
                                         # messages this flag will force the module
                                         # to create TRACEBUF messages instead.
                                         # Most people will never need this.

Verbosity            16                  # Set level of verbosity. Verbosity is a bitmap:
                                         # 1 Channel State, 2 Channel, 4 Raw Stream,
                                         # 8 CRC32, 16 Connection flow,
                                         # 32 Packet Management, 64 Extra, 128 Date,
                                         # 256 Gap, 512 DOD, 1023 All messages.
                                         # It is equivalent to the option -v.

NmxpHost             naqs1a.int.ingv.it  # Host address of NaqsServer/DataServer
                                         # It is equivalent to the option -H.

NmxpPortPDS          28000               # Port number of NaqsServer (Default 28000)
                                         # It is equivalent to the option -P.

NmxpPortDAP          28002               # Port number of DataServer(Default 28002)
                                         # It is equivalent to the option -D.

MaxTolerableLatency  120                 # Max tolerable latency for each channel. (Default 600 sec.)
                                         # In general, DO NOT use with parameter TimeoutRecv.
                                         # It is equivalent to the option -M.

#TimeoutRecv          30                 # Time-out in seconds for flushing queued data for each channel.
                                         # (Default 0. No time-out) [10..300].
                                         # Useful for retrieving Data On Demand with minimum delay.
39
                                         # 'tsec' in nmxptool.desc should be greater than 'TimeoutRecv'.
Matteo Quintiliani's avatar
Matteo Quintiliani committed
40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57
                                         # It is equivalent to the option -T.

DefaultNetworkCode   IV                  # Default network code where in 'ChannelFile' or 'Channel' is not declared.
                                         # It is equivalent to the option -N.

                                         # N.B. nmxptool channel definition IS NOT equal to SCNL
                                         # It is NSC, that is NET.STA.CHAN
                                         # NET  is optional and used only for output.
                                         # STA  can be '*', stands for all stations.
                                         # CHAN can contain '?', stands for any character.
                                         # Related to the parameters 'ChannelFile' and 'Channel'.
                                         # Network code will be assigned from the first
                                         # pattern that includes station and channel.
                                         # Example: N1.AAA.HH?,N2.*.HH?,MMM.BH?
                                         # Second pattern includes the first. Unless AAA, all
                                         # stations with HH channels will have network to N2.
                                         # Station MMM will have default network defined by 'DefaultNetworkCode'.

58
#MaxDataToRetrieve    3600               # Max amount of data of the past to retrieve from the
Matteo Quintiliani's avatar
Matteo Quintiliani committed
59 60 61 62 63
                                         # DataServer when program restarts (default 0) [0..86400].
                                         # 0 to disable connection to DataServer.
                                         # It is equivalent to the option -A. Related to 'ChannelFile'.
                                         # If 'MaxDataToRetrieve' is zero and 'ChannelFile' is used,
                                         # only data buffered by NaqsServer will be retrieved.
64 65 66
                                         # It is preferable, inside the section Datastream of
                                         # the file Naqs.ini, setting DataBufferLength to a high
                                         # value, than using 'MaxDataToRetrieve'.
Matteo Quintiliani's avatar
Matteo Quintiliani committed
67 68
                                         # It allows to retrieve much more data of the past when
                                         # the program restarts but it slows down the execution.
Matteo Quintiliani's avatar
Matteo Quintiliani committed
69
                                         # It is extremely harmful when you have many channels.
70

Matteo Quintiliani's avatar
Matteo Quintiliani committed
71 72 73 74 75 76

ChannelFile   /home/ew/naqs1a.list.txt   # List of channel patterns like 'Channel'. One for each line.
                                         # This file will not be modified by nmxptool.
                                         # Load/Save time of last sample of each channel in a file
                                         # with the same name, same directory, appending suffix ".nmxpstate"
                                         # Allow data continuity between program restarts.
Matteo Quintiliani's avatar
Matteo Quintiliani committed
77
                                         # Related to 'MaxDataToRetrieve', it enables request of recent packets.
Matteo Quintiliani's avatar
Matteo Quintiliani committed
78
                                         # It is equivalent to the option -F. Related to 'MaxDataToRetrieve'.
Matteo Quintiliani's avatar
Matteo Quintiliani committed
79 80 81 82 83 84

    # DO NOT USE parameters 'Channel' and 'ChannelFile' together.
    # 'ChannelFile' is preferable. At restart you can retrieve data
    # of the past from DataServer. See 'MaxDataToRetrieve'.

# Example of nmxptool channel definition
85 86 87 88 89 90
# Channel              ES.BOB.HH?
# Channel              MN.TIR.HH?
# Channel              MDI.HH?
# Channel              DOI.HH?
# Channel              SALO.HH?
# Channel              MONC.HH?
Matteo Quintiliani's avatar
Matteo Quintiliani committed
91
# Channel              *.BHZ               # Channel selection
92

Matteo Quintiliani's avatar
Matteo Quintiliani committed
93 94 95
# Please, for other details about parameters, refer to the command line "nmxptool -h"