assoccom 
Logical Entity Name  assoccom 
Default Table Name  assoccom 
Definition  Data associating codas with magnitudes 

assoccom Columns 
ColumnName  Domain  Datatype  NULL  Definition 
magid(PK)(FK)    NUMBER(15, 0)  NO  Magnitude identifier. This key is used to identify a magnitude in the Netmag relation. It is required for every magnitude 
coid(PK)(FK)    NUMBER(15, 0)  NO  Coda identification. Each coda is assigned a unique positive integer which identifies it in the database 
commid    NUMBER(15, 0)  YES  Comment identification. This is a key used to point to free-form comments entered in the Remark relation. These comments store additional information about a tuple in another relation. Within the Remark relation, there may be many tuples with the same commid and different lineno, but the same commid will appear in only one other tuple among the rest of the relations in the database 
auth    VARCHAR2(15)  NO  The auth field specifies the source of the information. This may be a network identifier (FDSN or otherwise), or any other string indicating the source of the information in the record 
subsource    VARCHAR2(8)  YES  A second identifier to specify the system or process that derived the data. e.g., the origin's AUTH is CI, but the subsource (the solution) was computed by JIGGLE 
weight    NUMBER(4, 3)  YES  Magnitude weight 
in_wgt    NUMBER(4, 3)  YES  Input weight 
mag    NUMBER(7, 4)  YES  Magnitude for this station reading 
magres    NUMBER(7, 4)  YES  Magnitude residual 
magcorr    NUMBER(7, 4)  YES  Magnitude correction for this channel 
rflag    VARCHAR2(2)  YES  This flag describes whether an observation was generated automatically, by a human, or has been finalized 
lddate    DATE  YES  Load date. Date and time that the record was created or last modified, in Oracle date datatype 

assoccom Foreign Keys 
Parent Table  Child Table  Type  Foreign Keys 
coda  assoccom  Identifying  coid 
netmag  assoccom  Identifying  magid 

assoccom Check Constraints 
Check Constraint Name  CheckConstraint 
assoccomkey04  weight >= 0.0 and weight <= 1.0 
assoccomkey05  in_wgt >= 0.0 and in_wgt <= 1.0 
assoccomkey06  rflag in ('a','h','f','A','H','F')