Changes between Version 1 and Version 2 of v4.1


Ignore:
Timestamp:
01/17/12 12:29:30 (10 years ago)
Author:
branden
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • v4.1

    v1 v2  
     1[[PageOutline]] 
    12= Earthworm Release Notes V4.1 = 
    23 
     
    78=== sac2hypo === 
    89 
    9 This program works only under Solaris. It reads the headers of all the SAC files in the current directory and creates a Hypoinverse archive file. This archive file can be used to relocate the event. This program was written some time ago by someone else (I presume Lynn Dietz). It has now been made into an earthworm utility program.   LV 8/12/1999 
     10This program works only under Solaris. It reads the headers of all the SAC files in the current directory and creates a Hypoinverse archive file. This archive file can be used to relocate the event. This program was written some time ago by someone else (I presume Lynn Dietz). It has now been made into an earthworm utility program. LV 8/12/1999 
    1011 
    1112=== tide2ew === 
    1213 
    13 This program works only under NT. It listens to serial line communication from the pucks which collect tide data. It connects to a COM port (given the serial communication parameters from the config file) and asks each puck for its   reading every WaitTime seconds. After NumSamples for an SCN have been collected, a new TYPE_TRACEBUF message is created and written to the OutRing stamped with the SCN code given in the configuration file. Besides creating earthworm messages, this module can write tide readings to the screen and to files. The format of the output files is taken from ATWC.  This program is part of the ATWC contributed software.   LV 8/2/1999 
     14This program works only under NT. It listens to serial line communication from the pucks which collect tide data. It connects to a COM port (given the serial communication parameters from the config file) and asks each puck for its   reading every !WaitTime seconds. After !NumSamples for an SCN have been collected, a new TYPE_TRACEBUF message is created and written to the !OutRing stamped with the SCN code given in the configuration file. Besides creating earthworm messages, this module can write tide readings to the screen and to files. The format of the output files is taken from ATWC.  This program is part of the ATWC contributed software.   LV 8/2/1999 
    1415 
    1516=== fir === 
    1617 
    17 This module implements a general-purpose FIR filter for trace data. Low-pass, high-pass, multi-band-pass and notch filters can be specified using simple commands in the configuration file. Filter coefficients are computed using the Remez Exchange algorithm to give an optimal equiripple filter. The filter zeroes are logged on startup. Using the "TestMode" command in the config file, the module will compute coefficients, log the zeroes and then quit. Uses many of the components in the revised decimate module.   PNL 10/27/1999  
     18This module implements a general-purpose FIR filter for trace data. Low-pass, high-pass, multi-band-pass and notch filters can be specified using simple commands in the configuration file. Filter coefficients are computed using the Remez Exchange algorithm to give an optimal equiripple filter. The filter zeroes are logged on startup. Using the "!TestMode" command in the config file, the module will compute coefficients, log the zeroes and then quit. Uses many of the components in the revised decimate module.   PNL 10/27/1999  
    1819 
    1920=== wave_serverV/Tools === 
     
    3435=== trig2disk/waveman2disk === 
    3536 
    36  * Modified the sac putaway routine to enable correct creation of SAC files on NT. Since there are (I think) no SAC tools for NT, the OutputFormat should be set to sparc. Care should be taken when transferring files between NT and Solaris (ASCII mode in ftp works best). LV 12/20/1999.  
     37 * Modified the sac putaway routine to enable correct creation of SAC files on NT. Since there are (I think) no SAC tools for NT, the !OutputFormat should be set to sparc. Care should be taken when transferring files between NT and Solaris (ASCII mode in ftp works best). LV 12/20/1999.  
    3738 * Modified to correctly create PCSUDS format files under NT. 
    3839 
    3940=== carlsubtrig === 
    4041 
    41 Added the "MaxTrigMsgLen" command to set the size of the buffer used to write TYPE_TRIGLIST2K messages to.  This buffer is allocated at startup (previously, a minimal buffer was allocated on startup, then was realloc'd in 1024 byte increments as necessary). If a triglist message would overflow this buffer, carlsubtrig will stop writing to the buffer, but will continue to write the complete triglist message to its log. It will also send this error message to statmgr:  "incomplete triglist msg sent for eventid:%d". Also, if the event triggered enough subnets such that a wildcard would be added to the triglist message, the wildcard is now written at the beginning of the message instead of the end (just in case that big triglist message would overflow the buffer, the wildcard will always be included!).  LDD 8/6/1999 
     42Added the "!MaxTrigMsgLen" command to set the size of the buffer used to write TYPE_TRIGLIST2K messages to.  This buffer is allocated at startup (previously, a minimal buffer was allocated on startup, then was realloc'd in 1024 byte increments as necessary). If a triglist message would overflow this buffer, carlsubtrig will stop writing to the buffer, but will continue to write the complete triglist message to its log. It will also send this error message to statmgr:  "incomplete triglist msg sent for eventid:%d". Also, if the event triggered enough subnets such that a wildcard would be added to the triglist message, the wildcard is now written at the beginning of the message instead of the end (just in case that big triglist message would overflow the buffer, the wildcard will always be included!).  LDD 8/6/1999 
    4243 
    4344=== export_generic/ export_scn === 
     
    4950Major revision. Decimate is now a multi-stage filter-decimator. The filter coefficients are computed based on the decimation rate, using the Remez Exchange algorithm. Since each channel requires several buffers to be allocated at startup, channels must be explicitly listed in the config file (no wildcards.) Thus it didn't seem convenient to keep Lucky's cool rewrite rules: Now output SCNs get listed explicitly with the input SCNs. PNL 10/18/1999 
    5051 
    51 === read_arc.c === 
     52=== read_arc.c (part of libsrc/util) === 
    5253 
    53 (part of libsrc/util) Corrected the reading for coda length (was reading the raw coda; now reads the eqcoda-corrected coda) and added the reading of coda weight. Added codawt to Hpck structure in read_arc.h. PNL, 10/20/1999 Added reading of preferred magnitude fields from the summary line. Added labelpref,Mpref,wtpref to the Hsum structure in read_arc.h. LDD 11/08/1999 
     54 * Corrected the reading for coda length (was reading the raw coda; now reads the eqcoda-corrected coda) and added the reading of coda weight.  
     55 * Added codawt to Hpck structure in read_arc.h. PNL, 10/20/1999 Added reading of preferred magnitude fields from the summary line. Added labelpref,Mpref,wtpref to the Hsum structure in read_arc.h. LDD 11/08/1999 
    5456 
    5557=== wave_serverV === 
     
    5759Removed "fix4_3.3" from the default target of the makefile. No one should need this program any more; it was only for converting tank structures from an old format to a new one provided by v3.3. PNL, 10/28/1999 
    5860 
    59 getmenu: Fixed bug that prevented hostname lookup from working on NT. The 
    60    problem was that SocketSysInit() was not being called before the 
    61    hostname lookup occurred. Now you can give getmenu a hostname or and 
    62    IP address (followed by ":portnumber") on NT as well as Unix. 
    63    PNL, 11/19/1999 
     61=== getmenu === 
    6462 
    65 export: It was such that if the connection to import broke while a 
    66    message was being sent, that that message would be lost. Fix is 
    67    to save the message until it was sent ok (as per socket return value), 
    68    and re-send the message after closing and re-opening the connection. 
    69    Alex 11/20/99 
     63Fixed bug that prevented hostname lookup from working on NT. The problem was that SocketSysInit() was not being called before the hostname lookup occurred. Now you can give getmenu a hostname or and IP address (followed by ":portnumber") on NT as well as Unix.  PNL, 11/19/1999 
    7064 
    71 arc2trig: Added two optional parameters: 
    72          PrePickTime (default=15) 
    73          PostCodaTime (default=10) 
    74    which specify how much data to save preceding the p-pick, and  
    75    following 
    76    coda cutoff. 
    77    Alex 11/24/99 
     65=== export === 
    7866 
    79 statmgr: Changed logit message about "Descriptor file of statmgr not loaded". 
    80    This error is also generated when the EW_INSTALLATION environment variable 
    81    doesn't match instId in statmgr.desc. PNL, 11/24/99 
     67It was such that if the connection to import broke while a message was being sent, that that message would be lost. Fix is to save the message until it was sent ok (as per socket return value), and re-send the message after closing and re-opening the connection. Alex 11/20/99 
    8268 
    83 heli_standalone: Changed GIF file names so they would be the same on local 
    84    and (optional) remote machines, as well as in the HTML file. HTML file 
    85    will now list separate GIFs when less than 24 hours is plotted on one 
    86    GIF. Fixed bug that caused core-dumps when socket debugging was turned on. 
    87    Added optional command to name the HTML file.  PNL, 11/29/99 
     69=== arc2trig === 
    8870 
    89 carlstatrig: Added LTAtime as a configurable parameter, as requested by 
    90    Tom Murray. Previously this was hardwired to 8 seconds. This is an 
    91    optional parameter, defaults to 8 seconds. PNL, 1/10/00 
     71Added two optional parameters: 
     72 * !PrePickTime (default=15) 
     73 * !PostCodaTime (default=10) 
     74which specify how much data to save preceding the p-pick, and following coda cutoff. Alex 11/24/99 
    9275 
    93 hyp2000: New version grabbed from Fred Klein 1/11/00. 
    94      Fixes a bug which had caused a core dump or crash with an error about 
    95    writing to unit 5.  Symptom was known to occur on startup when a 
    96    crustal velocity model file (CRH command) contained a blank line at  
    97    the end.  Now hyp2000 writes an error message an exits. 
    98      Also fixes bugs that are related to shadow cards. Used to write Pmag 
    99    information to summary shadow whether the mag was being calculated or 
    100    not, and wrote Pmag info to phase shadows sometimes when not necessary. 
    101      Also has a new command, FIL, which determines the format of the  
    102    input file set with the PHS command.  It discriminates between hypo71  
    103    phase, *.cod and *.arc files (with and without shadow cards, both old  
    104    and y2000 formats).  It also warns you if you are reading a pre-y2000 
    105    file in y2000 mode, and vice versa.  It sets the correct formats with  
    106    the COP and CAR commands.  The FIL code also senses the 4 different  
    107    summary formats and tells you what the file is, but of course warns you  
    108    that you should not be trying to locate a summary file.  The FIL command 
    109    should be useful interactively, but it is not necessary for real-time 
    110    use.  LDD, 1/11/00 
     76=== statmgr === 
    11177 
    112 hyp2000_mgr: Edited makefiles to work with the newest version of  
    113    hyp2000 (new command in new source file).  LDD, 1/11/00 
     78Changed logit message about "Descriptor file of statmgr not loaded". This error is also generated when the EW_INSTALLATION environment variable doesn't match instId in statmgr.desc. PNL, 11/24/99 
    11479 
    115 socket_ew_common.c (in libsrc/utils): accept_ew now sets the new socket 
    116    to nonblocking mode as required for sockets used by socket_ew_common; 
    117    previously it was assumed that this property was inherited from the 
    118    original socket. Most functions now properly react to select() errors; 
    119    previously they were ignored. Most function comments have been updated 
    120    to be more meaningful. Fixed bug in accept_ew where it would close the 
    121    old socket if no connection was accepted without the timeout interval. 
    122    PNL, 1/12/2000 
     80=== heli_standalone === 
    12381 
    124 export: (scn and generic) Export no longer quits when SocketTimeoutLength 
    125    is less than RcvAliveInt; now it sets SocketTimeoutLength to 1500 times 
    126    RcvAliveInt and logs it. (RcvAliveInt is in seconds, SocketTimeoutLength 
    127    is in milliseconds.) Removed some unneeded if's from binEscape() to  
    128    improve efficiency. Moved start of MessageStacker to after successful 
    129    accept_ew call, to reduce number of lapped messages in queue. Removed 
    130    flush of internal queue. Export now uses a timeout for the accept_ew 
    131    call. The interval is the internal heartbeat interval, so statmgr doesn't 
    132    complain when export isn't connected. If a connection is not made in  
    133    the timeout interval, export sends a complaint but otherwise keeps 
    134    listening and beating its heart. When a connection is made, export 
    135    sends a "connected" message only if it complained earlier. This adds 
    136    two new error messages to the descriptor file.  
    137    When export has a problem sending or receiving, it kills the socket 
    138    threads, closes and reopens the socket and tries another connection. 
    139    The MessageStacker does not get killed in the recycling. 
    140    Fixed a bug where BinSize was not being set to zero after a message 
    141    was successfully sent. This bug resulted in one message being resent 
    142    when the SocketSender restarted. PNL 1/13/2000 
     82Changed GIF file names so they would be the same on local and (optional) remote machines, as well as in the HTML file. HTML file will now list separate GIFs when less than 24 hours is plotted on one GIF. Fixed bug that caused core-dumps when socket debugging was turned on. Added optional command to name the HTML file.  PNL, 11/29/99 
     83 
     84=== carlstatrig ===  
     85 
     86Added LTAtime as a configurable parameter, as requested by Tom Murray. Previously this was hardwired to 8 seconds. This is an optional parameter, defaults to 8 seconds. PNL, 1/10/00 
     87 
     88=== hyp2000 === 
     89 
     90 * New version grabbed from Fred Klein 1/11/00.  
     91 * Fixes a bug which had caused a core dump or crash with an error about writing to unit 5.  Symptom was known to occur on startup when a crustal velocity model file (CRH command) contained a blank line at the end.  Now hyp2000 writes an error message an exits.  
     92 * Also fixes bugs that are related to shadow cards. Used to write Pmag information to summary shadow whether the mag was being calculated or not, and wrote Pmag info to phase shadows sometimes when not necessary.  
     93 * Also has a new command, FIL, which determines the format of the input file set with the PHS command.  It discriminates between hypo71 phase, *.cod and *.arc files (with and without shadow cards, both old and y2000 formats).  It also warns you if you are reading a pre-y2000 file in y2000 mode, and vice versa.  It sets the correct formats with the COP and CAR commands.  The FIL code also senses the 4 different summary formats and tells you what the file is, but of course warns you that you should not be trying to locate a summary file.  The FIL command should be useful interactively, but it is not necessary for real-time use.  LDD, 1/11/00 
     94 
     95=== hyp2000_mgr === 
     96 
     97Edited makefiles to work with the newest version of hyp2000 (new command in new source file).  LDD, 1/11/00 
     98 
     99=== socket_ew_common.c (in libsrc/utils) === 
     100 
     101accept_ew now sets the new socket to nonblocking mode as required for sockets used by socket_ew_common; previously it was assumed that this property was inherited from the original socket. Most functions now properly react to select() errors; previously they were ignored. Most function comments have been updated to be more meaningful. Fixed bug in accept_ew where it would close the old socket if no connection was accepted without the timeout interval. PNL, 1/12/2000 
     102 
     103=== export: (scn and generic) === 
     104 
     105 * Export no longer quits when !SocketTimeoutLength is less than !RcvAliveInt; now it sets SocketTimeoutLength to 1500 times !RcvAliveInt and logs it. (!RcvAliveInt is in seconds, !SocketTimeoutLength is in milliseconds.) Removed some unneeded if's from binEscape() to improve efficiency. Moved start of !MessageStacker to after successful accept_ew call, to reduce number of lapped messages in queue. Removed flush of internal queue. Export now uses a timeout for the accept_ew call. The interval is the internal heartbeat interval, so statmgr doesn't complain when export isn't connected. If a connection is not made in the timeout interval, export sends a complaint but otherwise keeps listening and beating its heart. When a connection is made, export sends a "connected" message only if it complained earlier. This adds two new error messages to the descriptor file.  
     106 * When export has a problem sending or receiving, it kills the socket threads, closes and reopens the socket and tries another connection.  
     107 * The !MessageStacker does not get killed in the recycling.  
     108 * Fixed a bug where BinSize was not being set to zero after a message was successfully sent. This bug resulted in one message being resent when the !SocketSender restarted. PNL 1/13/2000 
    143109 
    144110wave_serverV: Added optional parameter "ClientTimeout", used in