Changeset 180


Ignore:
Timestamp:
01/05/2010 02:18:58 PM (13 years ago)
Author:
marcus
Message:

r102 | svn | 2009-12-22 16:09:43 +0100 (Di, 22 Dez 2009) | 1 line

modified code to prevent running FK on traces with different sample rates; added/modified sensitivity information; fixed bug in evt2phasetimes (used only old SHINPUTS/STATINF.DAT)

Location:
SH_SHM/trunk
Files:
8 edited

Legend:

Unmodified
Added
Removed
  • SH_SHM/trunk/errors/ERR_5800.MSG

    r16 r180  
    2626*** CL3-18 no more free plugin entry *** 
    2727*** CL3-19 all available plugins installed *** 
     28*** CL3-20 operation not allowed for different sample rates *** 
  • SH_SHM/trunk/inputs/LocalSensitivities.dat

    r172 r180  
    99a5-hh-?     26-jun-2007_08:00  26-jun-2007_14:00   1.0593 
    1010 
    11 a055-bh-z   ...                ...                 1.0593 
    12 a055-hh-z   ...                ...                 1.0593 
     11a055-bh-?   ...                ...                 1.0593 
     12a055-hh-?   ...                ...                 1.0593 
    1313 
    1414clnz-hh-?   26-dec-2007_08:00  ...                 1.0593 
     
    6868han0-dh-?   ...                10-nov-2009_11:37   55.174 
    6969han0-dh-?   10-nov-2009_11:37  ...                 1.7242 
     70han6-dh-?   16-Dec-2009        ...                 3.9725 
    7071 
    7172stf1-hh-?   ...                ...                 1.0593 
  • SH_SHM/trunk/inputs/LocalStatinf.dat

    r172 r180  
    1515HAN4    lat: 52.415461  lon: 9.830351 
    1616HAN5    lat: 52.40488    lon: 9.81988 
     17HAN6   lat: 52.4376     lon: 9.8105 
    1718 
    1819 
  • SH_SHM/trunk/inputs/chantrans.txt

    r172 r180  
    77ahrw-++   hh 
    88asse-++   hh 
     9balst-++  hh 
    910bfo-++    hh 
    1011brg-++    hh 
     
    5253neub-++   hh 
    5354pln-++    hh 
     55plons-++  hh 
    5456rohr-++   hh 
    5557schd-++   hh 
     
    6264wern-++   hh 
    6365wimm-++   hh 
     66 
     67han0-++   dh 
     68han1-++   dh 
     69han2-++   dh 
     70han3-++   dh 
     71han4-++   dh 
     72han5-++   dh 
     73han6-++   dh 
     74han7-++   dh 
     75han8-++   dh 
     76han9-++   dh 
    6477 
    6578gea0-++   sh 
     
    108121mem-++    hh 
    109122nkc-++    hh 
     123sle-++    hh 
     124sulz-++   hh 
    110125ucc-++    hh 
     126wila-++   hh 
    111127 
    112128*-++      bh 
  • SH_SHM/trunk/inputs/sensitivities.txt

    r172 r180  
    22!      ================= 
    33! 
    4 ! $Revision: 101 $, $Date: 2009-11-27 11:48:20 +0100 (Fr, 27 Nov 2009) $ 
     4! $Revision: 102 $, $Date: 2009-12-22 16:09:43 +0100 (Di, 22 Dez 2009) $ 
    55! 
    66! Sensitivity file for data streams 
     
    2727asse-hh-?   01-jul-2007_00:00  ...                 1.58946 
    2828 
     29balst-hh-?  ...                ...                 1.59333 
     30balst-bh-?  ...                ...                 1.59333 
     31 
    2932bfo-bh-?    ...                ...                 1.67 
    3033bfo-hh-?    ...                ...                 1.67 
     
    7780dreg-lh-?   ...                ...                 1.0593 
    7881 
    79 ech-lh-e    ...                ...                 0.495 
    80 ech-lh-n    ...                ...                 0.502 
    81 ech-lh-z    ...                ...                 0.502 
     82ech-bh-z    ...                ...                 4.0869 
     83ech-bh-n    ...                ...                 4.0903 
     84ech-bh-e    ...                ...                 4.1373 
    8285 
    8386fbe-bh-?    24-apr-2005        ...                 0.4743 
     
    549552ojc-lh-?    ...                ...                 0.198 
    550553 
    551 pln-bh-?    1-feb-2007_11:34   ...                 3.9725 
    552 pln-hh-?    1-feb-2007_11:34   ...                 3.9725 
    553 pln-lh-?    1-feb-2007_11:34   ...                 3.9725 
     554plons-hh-?  ...                ...                 1.59333 
     555plons-bh-?  ...                ...                 1.59333 
    554556 
    555557pst-bh-?    ...                1-feb-2007_11:34    1.986 
     
    585587schf-lh-?   21-aug-2002        ...                 2.50 
    586588 
     589sle-hh-?    ...                ...                 1.59333 
     590sle-bh-?    ...                ...                 1.59333 
     591 
    587592ssb-lh-e    ...                ...                 0.981 
    588593ssb-lh-n    ...                ...                 0.991 
     
    595600stu-lh-?    ...                01-jan-2000         0.39 
    596601stu-lh-?    01-jan-2000        ...                 1.63 
     602 
     603sulz-hh-?   ...                ...                 1.59333 
     604sulz-bh-?   ...                ...                 1.59333 
    597605 
    598606suw-bh-?    ...                ...                 1.7 
     
    639647wet-hh-?    29-mar-2007_12:00  ...                 1.0593 
    640648wet-lh-?    29-mar-2007_12:00  ...                 1.0593 
     649 
     650wila-hh-?   ...                ...                 1.59333 
     651wila-bh-?   ...                ...                 1.59333 
    641652 
    642653wimm-bh-?   ...                ...                 0.5 
  • SH_SHM/trunk/source/motif/cblib3.c

    r16 r180  
    575575        long     lth;                       /* sample length */ 
    576576        float    dt;                        /* sample distance in sec */ 
     577        float    xdt;                       /* current dt for dt check */ 
    577578        char     timeinf[BC_LINELTH+1];     /* time info string */ 
    578579 
     
    633634                trc = db_getp( trc, EP_DSPN, status ); 
    634635                if  (Severe(status))  return; 
     636                xdt = db_getr( trc, ER_DELTA, status ); 
     637                if  (Severe(status))  return; 
     638                if  (fabs(xdt-dt) > dt/1000.0)  { 
     639                        *status = CL3E_DIFF_SAMPRATE; 
     640                        return; 
     641                } /*endif*/ 
    635642                db_gets( trc, ES_STATION, BC_SHORTSTRLTH, station, status ); 
    636643                if  (Severe(status)) return; 
  • SH_SHM/trunk/source/motif/cblib3.h

    r16 r180  
    5959#define CL3E_NO_MORE_PLUGIN (CL3E_OFFSET+18)   /* no more plugin available */ 
    6060#define CL3E_NO_NEW_PLUGIN  (CL3E_OFFSET+19)   /* all avail. plugins installed */ 
     61#define CL3E_DIFF_SAMPRATE  (CL3E_OFFSET+20)   /* operation not allowed for different sample rates */ 
    6162 
    6263 
  • SH_SHM/trunk/util/evt2phasetimes.c

    r16 r180  
    4747#include "tcusrdef.h" 
    4848#include "eventdsc.h" 
     49#include "globalparams.h" 
    4950 
    5051 
     
    109110        longdesc = pa_qspecified( "-longdesc" ); 
    110111 
     112        GpReadParfile(); 
     113 
     114#ifdef XXX 
    111115        /* initialization of libraries */ 
    112116        inputs = (char *)getenv( "SH_INPUTS" ); 
     
    120124        strcat( str, "STATINF.DAT" ); 
    121125        gl_locfile_name( str ); 
    122  
    123 #ifdef XXX 
    124         /* travel time tables */ 
    125         strcpy( str, inputs ); 
    126         strcat( str, "/" ); 
    127         status = cBcNoError; 
    128         pt_settabledir( str, &status ); 
    129         if  (SySevere(&status))  err_writemsg( status, "", TRUE ); 
    130126#endif 
    131127 
Note: See TracChangeset for help on using the changeset viewer.