Changes between Initial Version and Version 1 of Global_Processing_Message_Format


Ignore:
Timestamp:
01/19/12 16:19:47 (10 years ago)
Author:
branden
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Global_Processing_Message_Format

    v1 v1  
     1{{{ 
     2 
     3Earthworm Global Processing 
     4Message Formats 
     5 
     6July 24, 2002 
     7 
     8Alex Bittenbiter and Dale Hanych 
     9 
     10GENERAL: 
     11 
     12This document describes messages pertaining to global processing: 
     13 
     141.    TYPE_AMP_GLOBAL 
     152.    TYPE_PICK_GLOBAL 
     163.    TYPE_LOC_GLOBAL 
     17 
     18 
     19All fields will be blank-separated. 
     20 
     21All fields will have at least one printing (non-whitespace) character 
     22 
     23 
     24 
     25TYPE_PICK_GLOBAL 
     26================= 
     27 
     28<author> <sequence_number> <version> <station> <chan> <net> <loc> <pick_time> <phase_name> 
     29 
     30Inalterable Header: 
     31------------------ 
     32 
     33<author> -- The standard author string 
     34 
     35<sequence_number> -- integer, represented as an ascii string 
     36                     The sequence number should be practically unique, 
     37                     such that it will not wrap or be duplicated during a reasonable period of time -- 
     38                     i.e. expected lifetime of the developers involved.  
     39 
     40<version> -- a number indicating the format version. 
     41 
     42Version 1 content: 
     43----------------- 
     44 
     45<station> <chan> <net> <loc> -- standard station-channel-network-location as ascii strings 
     46 
     47<phase_name> -- character string 
     48 
     49<pick_time> -- yyyymmddhhmmss.sss 
     50 
     51 
     52 
     53TYPE_AMP_GLOBAL 
     54=============== 
     55 
     56<author> <sequence_number> <version> <station> <chan> <net> <loc> <pick_time> <magnitude_type> <amplitude> <associated_period> 
     57 
     58Inalterable Header: 
     59------------------ 
     60 
     61<author> -- The standard author string 
     62 
     63<sequence number> -- integer, represented as an ascii string 
     64                     The sequence number should be practically unique, 
     65                     such that it will not wrap or be duplicated during a reasonable period of time -- 
     66                     i.e. expected lifetime of the developers involved.  
     67 
     68<version> -- a number indicating the format version. 
     69 
     70Version 1 content: 
     71----------------- 
     72 
     73<station> <chan> <net> <loc> -- standard station-channel-network-location as ascii strings 
     74 
     75<pick_time> -- yyyymmddhhmmss.sss 
     76 
     77<magnitude_type> -- ascii numeric code: 1 = mb, 2 = ml, 3 = mblg, 4 = ms; more as needed 
     78 
     79<amplitude> -- a/d counts, floating point ascii 
     80 
     81<associated_period> -- seconds,  floating point ascii 
     82 
     83 
     84 
     85TYPE_LOC_GLOBAL: 
     86=============== 
     87 
     88This message shall consist of one or more 'lines'.  
     89Each line will start with a 'line name' string followed by an ascii space.  
     90Each line terminates with a ascii newline character ['\n'] 
     91Each line will consist of blank-separated fields. 
     92Additional fields can be added to the end of each line as the message evolves. 
     93The message terminates with an additional \n  [message ends in two \n] 
     94The first line of the message must be a SUM line.  There shall be only one SUM line per message. 
     95Following the SUM line, data lines can appear in any order. 
     96The SUM line will be versioned  
     97For version 1, data line types are PHS and MAG, other line types will be created as needed. 
     98 
     99 
     100SUM <author> <version> <id> <origin_time> <lat> <lon> <z> <gap> <dmin> <rms> <pick_count> <nphs> <nmag> 
     101 
     102PHS <author> <sequence_number> <version> <station> <chan> <net> <loc> <pick_time> <phase_name> 
     103 
     104MAG <author> <sequence_number> <version> <station> <chan> <net> <loc> <pick_time> <mag_type> <amp> <period> 
     105 
     106 
     107Where: 
     108 
     109<version> -- a number indicating the message version 
     110             (pertains to SUM line and possibly content) 
     111 
     112<id> -- event id 
     113 
     114<origin_time>, <pick_time> -- ascii strings in format YYYYMMDDhhmmss.sss 
     115 
     116<pick_count> -- number of picks used to calculate origin (e.g., by glass) 
     117 
     118<nph> -- number of PHS lines included 
     119 
     120<nmag> -- number of AMP lines included 
     121 
     122<mag_type> -- ascii numeric code: 1 = mb, 2 = ml, 3 = mblg, 4 = ms; more as needed 
     123 
     124<station> <chan> <net> <loc> -- standard SCN-L 
     125 
     126}}}