#include <stdlib.h>#include <stdio.h>#include <time.h>#include <ctype.h>#include <math.h>#include <errno.h>#include <unistd.h>#include <string.h>#include <sys/types.h>#include <sys/stat.h>#include <fcntl.h>#include <dirent.h>#include <assert.h>#include <signal.h>#include <search.h>#include "common.h"
Go to the source code of this file.
Defines | |
| #define | MAXSTA 1024 |
Functions | |
| int | ParseMergeTriggerOptions (char *cmd) |
| int | StationIndex (char *sta) |
| int | MergeTriggers (char *cmd) |
Variables | |
| int | nsta = 0 |
| char | station [MAXSTA][16] |
| unsigned long long | trigger [MAXSTA] |
| int | windowLength = 0 |
| int | ignoreLength = 0 |
| unsigned long long | minsta = 0 |
| time_t | CT |
| int | timeDevider = 1 |
| #define MAXSTA 1024 |
| int MergeTriggers | ( | char * | cmd | ) |
Definition at line 187 of file otf.c.
References CT, ignoreLength, MAXSTA, minsta, nsta, ParseMergeTriggerOptions(), PrintError, sta, station, StationIndex(), time2str(), timeDevider, trigger, and windowLength.
Referenced by ParseOptions().
| int ParseMergeTriggerOptions | ( | char * | cmd | ) |
Definition at line 70 of file otf.c.
References ignoreLength, minsta, PrintDebug, PrintError, timeDevider, and windowLength.
Referenced by MergeTriggers().
| int StationIndex | ( | char * | sta | ) |
| time_t CT |
| int ignoreLength = 0 |
| unsigned long long minsta = 0 |
| int nsta = 0 |
| char station[MAXSTA][16] |
Definition at line 62 of file otf.c.
Referenced by CloseAscFile(), CloseMSeedInt32File(), CloseMSeedSteim1File(), CloseSacFile(), CloseSisFile(), FileName(), InitSegyHeader(), MergeTriggers(), StationIndex(), and UpdateInfoHeader().
| int timeDevider = 1 |
| unsigned long long trigger[MAXSTA] |
Definition at line 63 of file otf.c.
Referenced by AddTriggerData(), DumpTriggerEvents(), MergeTriggers(), ParseTriggerOptions(), and TriggerOneSample().
| int windowLength = 0 |
1.5.6