Changes between Version 6 and Version 7 of gmew


Ignore:
Timestamp:
05/09/12 10:54:44 (8 years ago)
Author:
branden
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • gmew

    v6 v7  
    117117 
    118118Set the debug level to D. There are many different debug options; one or more of them may be activated using the Debug command. More than one Debug command may be used, or the different values (from the table) may be added together into one Debug command. Except as noted, the debug information is printed to STDERR and the log file (depending on the setting of log switch.) Select from these debug options: 
    119 {{{ 
    120 1: 
    121 trace and search times and P and S arrival estimates (relative to event origin time) 
    122 2: 
    123 SCNL selection tests 
    124 16: 
    125 ws_client debugging 
    126 32: 
    127 poles. zeros and gain values 
    128 64: 
    129 trial frequency response functions to STDOUT. Produces about 1500 lines for each SCNL, which should be saved to a file. 
    130 128: 
    131 full frequency response function to STDOUT. Produces several thousand lines for each SCNL, which should be saved to a file. 
    132 256: 
    133 Input and output trace data including in padded arear to STDOUT. Produces several thousand lines for each SCNL, which should be saved to a file. 
    134 }}} 
     119 
     1201: trace and search times and P and S arrival estimates (relative to event origin time) 
     121 
     1222: SCNL selection tests 
     123 
     12416: ws_client debugging 
     125 
     12632: poles. zeros and gain values 
     127 
     12864: trial frequency response functions to STDOUT. Produces about 1500 lines for each SCNL, which should be saved to a file. 
     129 
     130128: full frequency response function to STDOUT. Produces several thousand lines for each SCNL, which should be saved to a file. 
     131 
     132256: Input and output trace data including in padded arear to STDOUT. Produces several thousand lines for each SCNL, which should be saved to a file. 
     133 
    135134{{{ 
    136135Default: 0; no debug output 
     
    169168 
    170169This is not a config-file command but a command line switch Sets the value of the logging switch to S. Possible values of S are: 
    171 {{{ 
    172 0: 
    173 Do not create a log file. Some logging data will be printed to the screen (stdout or stderr.) 
    174 1: 
    175 Create a log file in the directory named by the EW_LOG environment variable. The log file name will based on the config-file name and the current data. A new file will be created for each day (but only if there are logging entries to be made.) Some logging data will be printed to the screen (stdout or stderr,) as with option `0' above. 
    176 2: 
    177 Create a log file as for option `1', but do not write anything to the screen (stdout or stderr.) 
    178 }}} 
     170 
     1710: Do not create a log file. Some logging data will be printed to the screen (stdout or stderr.) 
     172 
     1731: Create a log file in the directory named by the EW_LOG environment variable. The log file name will based on the config-file name and the current data. A new file will be created for each day (but only if there are logging entries to be made.) Some logging data will be printed to the screen (stdout or stderr,) as with option `0' above. 
     174 
     1752: Create a log file as for option `1', but do not write anything to the screen (stdout or stderr.) 
     176 
    179177{{{ 
    180178Default: 1 
     
    203201Function: Memory Allocation 
    204202 
    205 Allocate memory for MtraceTimes command and the estimated P and S phase arrival times. 
     203Allocate memory for !MtraceTimes command and the estimated P and S phase arrival times. 
    206204{{{ 
    207205Default: none, this command is required 
     
    266264Function: Earthworm setup 
    267265 
    268 Tells gmew which shared memory region to use for output transport. ring is a character string (valid strings are listed in earthworm.d) that relates (in earthworm.d) to a unique number for the key to the shared memory region. Gmew writes TYPE_STRONGMOTIONII, TYPE_HEARTBEAT and TYPE_ERROR messages to this ring. RingOutName can be the same as RingInName if desired. 
     266Tells gmew which shared memory region to use for output transport. ring is a character string (valid strings are listed in earthworm.d) that relates (in earthworm.d) to a unique number for the key to the shared memory region. Gmew writes TYPE_STRONGMOTIONII, TYPE_HEARTBEAT and TYPE_ERROR messages to this ring. !RingOutName can be the same as !RingInName if desired. 
    269267{{{ 
    270268Default:  none 
     
    288286 
    289287Gives a formattted subdirectory name; the format string is that used for the Unix date command applied to the event origin time, with the addition of `%i' to indicate the event ID. Be careful with this; some formats produce output not compatible with directory names. The directory name derived from dirFormat must not contain any path separators. Suitable format strings include: 
    290 {{{ 
    291 %C 
    292 Century number (the year divided by 100 and truncated to an integer as a decimal number [1,99]); single digits are preceded by 0. 
    293 %d 
    294 Day of month [1,31]; single digits are preceded by 0. 
    295 %h 
    296 Locale's abbreviated month name. 
    297 %H 
    298 Hour (24-hour clock) [0,23]; single digits are preceded by 0. 
    299 %i 
    300 The Earthworm event ID. Currently this event ID can only be read from a hyp2000 archive message. 
    301 %j 
    302 Day number of year [1,366]; single digits are preceded by 0. 
    303 %m 
    304 Month number [1,12]; single digits are preceded by 0. 
    305 %M 
    306 Minute [00,59]; leading zero is permitted but not required. 
    307 %R 
    308 Time as %H:%M 
    309 %S 
    310 Seconds [00,61] 
    311 %T 
    312 Time as %H:%M:%S 
    313 %u 
    314 Weekday as a decimal number [1,7], with 1 representing Sunday. 
    315 %U 
    316 Week number of year as a decimal number [00,53], with Sunday as the first day of week 1. 
    317 %V 
    318 Week number of the year as a decimal number [01,53], with Monday as the first day of the week. If the week containing 1 January has four or more days in the new year, then it is considered week 1; otherwise, it is week 53 of the previous year, and the next week is week 1. 
    319 %w 
    320 Weekday as a decimal number [0,6], with 0 representing Sunday. 
    321 %W 
    322 Week number of year as a decimal number [00,53], with Monday as the first day of week 1. 
    323 %y 
    324 Year within century [00,99]. 
    325 %Y 
    326 Year, including the century (for example 1993), 
     288 
     289%C: Century number (the year divided by 100 and truncated to an integer as a decimal number [1,99]); single digits are preceded by 0. 
     290 
     291%d: Day of month [1,31]; single digits are preceded by 0. 
     292 
     293%h: Locale's abbreviated month name. 
     294 
     295%H: Hour (24-hour clock) [0,23]; single digits are preceded by 0. 
     296 
     297%i: The Earthworm event ID. Currently this event ID can only be read from a hyp2000 archive message. 
     298 
     299%j: Day number of year [1,366]; single digits are preceded by 0. 
     300 
     301%m: Month number [1,12]; single digits are preceded by 0. 
     302 
     303%M: Minute [00,59]; leading zero is permitted but not required. 
     304 
     305%R: Time as %H:%M 
     306 
     307%S: Seconds [00,61] 
     308 
     309%T: Time as %H:%M:%S 
     310 
     311%u: Weekday as a decimal number [1,7], with 1 representing Sunday. 
     312 
     313%U:Week number of year as a decimal number [00,53], with Sunday as the first day of week 1. 
     314 
     315%V: Week number of the year as a decimal number [01,53], with Monday as the first day of the week. If the week containing 1 January has four or more days in the new year, then it is considered week 1; otherwise, it is week 53 of the previous year, and the next week is week 1. 
     316 
     317%w: Weekday as a decimal number [0,6], with 0 representing Sunday. 
     318 
     319%W: Week number of year as a decimal number [00,53], with Monday as the first day of week 1. 
     320 
     321%y: Year within century [00,99]. 
     322 
     323%Y: Year, including the century (for example 1993), 
    327324}}} 
    328325 
     
    345342Note that the format of this files is identical to the one used by the localmag module. Each SCNLpar command must include the STA, COMP, NET, LOC names followed by the following seven decimal values. Use spaces between all elevent items in each SCNLpar line. All values must be present; no default values are used for an SCN if it has an SCNpar line. The seven decimal values are: 
    346343 
    347 '''magnitude correction''': This value is ignored by gmew; it is used only by the localmag module. 
    348  
    349 '''taper low-freq off''': The frequency at the low end of the passband below which the cosine taper has zero value. This taper is applied to the frequency response function before it is convolved with the trace. Frequency units are Hz. 
     344''magnitude correction'': This value is ignored by gmew; it is used only by the localmag module. 
     345 
     346''taper low-freq off'': The frequency at the low end of the passband below which the cosine taper has zero value. This taper is applied to the frequency response function before it is convolved with the trace. Frequency units are Hz. 
    350347 
    351348'''taper low-freq on''': The frequency at the low end of the passband above which the cosine taper has a value of 1. The low-end taper can be eliminated by setting the off and on values to the same value. The default low-end taper is turned off, passing all low frequencies. 
    352349 
    353 '''taper high-freq on''': The frequency at the high end of the passband below which the cosine taper has a value of 1. 
     350''taper high-freq on'': The frequency at the high end of the passband below which the cosine taper has a value of 1. 
    354351taper high-freq off 
    355352The frequency at the high end of the passband above which the cosine taper has a value of 0. The high-end taper can be eliminated by setting the off and on values to the same value. The default high-end taper has an off value equal to the trace Nyquist frequency (one half the sample rate.) The default on frequency is 90% of the Nyquist frequency. 
    356353 
    357 '''clipping limit''': The value, in digital counts, beyond which in absolute value the unprocessed trace should be considered clipped. If the trace is declared clipped by gmew, it will synthesized into ground motion traces, but it will not have amplitude picks performed. The default clipping limit is 7.55e+06 counts, 90% of 2^23, the limit of a 24-bit digitizer. 
    358  
    359 '''taper time interval''': The number of seconds for which a cosine taper will be applied to both ends of the input time series before it is transformed to the frequency domain. This taper will shorten the useful length of the time series from the length specifed by the traceTimes command by twice this taper interval. The default value is 0 - no taper is applied to time series. 
     354''clipping limit'': The value, in digital counts, beyond which in absolute value the unprocessed trace should be considered clipped. If the trace is declared clipped by gmew, it will synthesized into ground motion traces, but it will not have amplitude picks performed. The default clipping limit is 7.55e+06 counts, 90% of 2^23, the limit of a 24-bit digitizer. 
     355 
     356''taper time interval'': The number of seconds for which a cosine taper will be applied to both ends of the input time series before it is transformed to the frequency domain. This taper will shorten the useful length of the time series from the length specifed by the traceTimes command by twice this taper interval. The default value is 0 - no taper is applied to time series. 
    360357{{{ 
    361358Default: as described above