Changeset 97 for SH_SHM/trunk
- Timestamp:
- 02/18/2009 08:23:22 AM (14 years ago)
- Location:
- SH_SHM/trunk/util
- Files:
-
- 1 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
SH_SHM/trunk/util/check_evt.c
r89 r97 98 98 EvStatusT status; /* return status */ 99 99 int i; /* counter */ 100 char tmpstr[cBcLongStrLth+1]; /* scratch string */ 100 101 101 102 /* executable code */ … … 128 129 EvReformatEventfile( infile, outfile, EvGetEvent, 129 130 EfPutCheck, &status ); 131 132 /* now call the Python script for additional checks */ 133 if (strcmp(outfile,"TT") == 0) { 134 sprintf( tmpstr, "%s/CheckEvt.py %s", getenv("SH_UTIL"), efv_infile ); 135 system( tmpstr ); 136 } else { 137 sprintf( tmpstr, "%s/CheckEvt.py %s %s", getenv("SH_UTIL"), 138 efv_infile, outfile ); 139 system( tmpstr ); 140 } /*endif*/ 130 141 131 142 return 0; … … 188 199 if (is_pkp_phase) 189 200 efv_foundTele = TRUE; 201 202 /* is this a leftover from an amplitude measurement? */ 203 if (strncmp(event->phase,"w-",2) == 0) 204 fprintf( out, "F012 %s: illegal phase %s found on %s\n", 205 efv_infile, event->phase, event->station ); 206 190 207 191 208 /* a depth phase can found only in teleseismic events */
Note: See TracChangeset
for help on using the changeset viewer.