Changeset 326
- Timestamp:
- 02/17/2011 12:16:59 PM (13 years ago)
- Location:
- SH_SHM/trunk
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
SH_SHM/trunk/inputs/LocalSensitivities.dat
r308 r326 1 a803-hh-? ... ... 3.9725 2 a807-hh-? ... ... 3.9725 3 1 4 gor1-hh-? 11-Nov-2009 ... 0.1877 2 5 gor1-bh-? 11-Nov-2009 ... 0.1877 -
SH_SHM/trunk/inputs/chantrans.txt
r301 r326 5 5 6 6 7 a803-++ hh8 a807-++ hh9 7 ahrw-++ hh 10 8 asse-++ hh … … 77 75 zerf-++ hh 78 76 77 gor1-++ hh 78 gor2-++ hh 79 gor3-++ hh 80 gor4-++ hh 81 gor5-++ hh 82 79 83 han0-++ dh 80 84 han1-++ dh … … 89 93 a055-++ hh 90 94 p180-++ dh 95 96 a803-++ hh 97 a807-++ hh 98 clnz-++ hh 91 99 92 100 gea0-++ sh -
SH_SHM/trunk/inputs/sensitivities.txt
r317 r326 2 2 ! ================= 3 3 ! 4 ! $Revision: 1 56 $, $Date: 2011-02-08 14:26:10 +0100 (Di, 08Feb 2011) $4 ! $Revision: 165 $, $Date: 2011-02-17 12:03:57 +0100 (Do, 17 Feb 2011) $ 5 5 ! 6 6 ! Sensitivity file for data streams … … 441 441 ham-lh-? ... ... 1.67 442 442 443 ham3-bh-? ... ... 1.67 444 ham3-hh-? ... ... 1.67 445 ham3-lh-? ... ... 1.67 446 443 447 henn-hh-? 20-may-2010 ... 0.8750 444 448 -
SH_SHM/trunk/source/seed_io/seed_lib.c
r325 r326 3 3 * ========== 4 4 * 5 * $Revision: 16 4 $, $Date: 2011-02-16 10:01:41 +0100 (Mi, 16Feb 2011) $5 * $Revision: 165 $, $Date: 2011-02-17 12:03:57 +0100 (Do, 17 Feb 2011) $ 6 6 * 7 7 * SEED library … … 4013 4013 4014 4014 #define IDOFFSET 6 4015 #define DATCHARS "DQRM"4016 4015 4017 4016 … … 4053 4052 if (id1 == EOF || isdigit1 == FALSE) { 4054 4053 /* no SEED file, leave recsize zero */ 4055 } else if (strchr( DATCHARS,id1) != NULL && strchr(DATCHARS,id2) == NULL) {4054 } else if (strchr(Seed_C_DATCHARS,id1) != NULL && strchr(Seed_C_DATCHARS,id2) == NULL) { 4056 4055 /* definitely not 512 */ 4057 4056 *recsize = 4096; 4058 4057 *byteoff = 0; 4059 } else if (id1 == 'V' && strchr( DATCHARS,id2) != NULL && isdigit2 == TRUE) {4058 } else if (id1 == 'V' && strchr(Seed_C_DATCHARS,id2) != NULL && isdigit2 == TRUE) { 4060 4059 /* very likely 512 */ 4061 4060 *recsize = 512; … … 4064 4063 *recsize = 4096; 4065 4064 *byteoff = 0; /* this is a guess */ 4066 } else if (strchr( DATCHARS,id1) != NULL && strchr(DATCHARS,id2) != NULL) {4065 } else if (strchr(Seed_C_DATCHARS,id1) != NULL && strchr(Seed_C_DATCHARS,id2) != NULL) { 4067 4066 *byteoff = 0; 4068 4067 fseek( fp, 1024+IDOFFSET, 0 ); … … 4070 4069 fseek( fp, 1024+512+IDOFFSET, 0 ); 4071 4070 id2 = getc( fp ); 4072 if (strchr( DATCHARS,id1) != NULL && strchr(DATCHARS,id2) != NULL) {4071 if (strchr(Seed_C_DATCHARS,id1) != NULL && strchr(Seed_C_DATCHARS,id2) != NULL) { 4073 4072 *recsize = 512; 4074 } else if (strchr( DATCHARS,id1) != NULL && id2 == EOF) {4073 } else if (strchr(Seed_C_DATCHARS,id1) != NULL && id2 == EOF) { 4075 4074 *recsize = 512; 4076 4075 } else if (id1 == EOF) { -
SH_SHM/trunk/source/seed_io/seedcfg.h
r305 r326 3 3 * ========= 4 4 * 5 * $Revision: 1 47 $, $Date: 2011-01-13 09:13:13 +0100 (Do, 13 Jan2011) $5 * $Revision: 165 $, $Date: 2011-02-17 12:03:57 +0100 (Do, 17 Feb 2011) $ 6 6 * 7 7 * SEED basic constants and types … … 155 155 #define Seed_C_EmptyAddinfStr "...." 156 156 157 /* this characters can appear in a data record header */ 158 #define Seed_C_DATCHARS "DQRM" 159 157 160 /* data formats (should not be here ...) */ 158 161 #define Seed_C_FORMAT_MSEED 1 -
SH_SHM/trunk/source/seed_io/split_seed.c
r16 r326 144 144 return 1; 145 145 } /*endif*/ 146 if (s eedrec[6] != 'D' && seedrec[6] != 'Q' && seedrec[6] != 'R') continue;146 if (strchr(Seed_C_DATCHARS,seedrec[6]) == NULL) continue; 147 147 strncpy( curr_station, seedhdr->statcode, 5 ); 148 148 curr_station[5] = '\0';
Note: See TracChangeset
for help on using the changeset viewer.