Go to the source code of this file.
Enumerations | |
| enum | { TDB_PATH_DT = 0, TDB_PATH_DFT, TDB_PATH_TC, TDB_PATH_STATIONS, TDB_PATH_SENSORLIST, TDB_PATH_LAST } |
Functions | |
| int | TDBInit (void) |
| data base initialization : read all stations | |
| char * | TDBPath (int p, char *s) |
| path name based on TDB information | |
| int | TDBUpdateHeader (struct InfoHeaderType *h) |
| overwrite header information with TDB information | |
| anonymous enum |
| int TDBInit | ( | void | ) |
data base initialization : read all stations
| frame | the frame to dump |
Definition at line 352 of file tdb.c.
References __scandir(), ADD_CHANNEL_CODE, ADD_LOCATION_CODE, ADD_NETWORK_CODE, confKeyWord, DO_COMPARISON_KW, fileNameOptions, MAX_OSIRIS_CHANNEL, MyGetenv(), PrintDebug, PrintError, PrintLog, PrintStation(), ReadSensorList(), str2time(), TDB_PATH_LAST, TDB_PATH_SENSORLIST, TDB_PATH_STATIONS, TDBAbortParsing(), tdbName, and tdbPaths.
Referenced by ParseOptions().
| char* TDBPath | ( | int | p, | |
| char * | s | |||
| ) |
path name based on TDB information
| p | the path to return the station we are working on, may be NULL |
Definition at line 299 of file tdb.c.
References PrintError, TDB_PATH_LAST, TDB_PATH_SENSORLIST, tdbName, and tdbPaths.
Referenced by GetExtraTcorr(), GetFrameSkip(), GetInterpolatedShift(), MakeDtFileName(), and ReadSensorList().
| int TDBUpdateHeader | ( | struct InfoHeaderType * | h | ) |
overwrite header information with TDB information
| h | the information header to change |
Definition at line 725 of file tdb.c.
References Titan2SRType::base, InfoHeaderType::ch, InfoHeaderType::channel, ChannelName(), InfoHeaderType::correctedTime, Titan2SRType::div, InfoHeaderType::location, InfoHeaderType::network, PrintDebug, PrintError, PrintStation(), InfoHeaderType::sr, InfoHeaderType::station, TDBGetChannel(), and time2str().
Referenced by UpdateInfoHeader().
1.5.6