#include <earthworm.h>
#include <sac_2_ewevent.h>
Go to the source code of this file.
Functions | |
time_t | timegm_ew (struct tm *) |
double | SAC_reftime (struct SAChead *) |
size_t | SAC_Ktostr (char *, int, char *) |
int | Sac2EWEvent (EWEventInfoStruct *pEvent, struct SAChead *sacheadp, char *sacdatap, int CopyData) |
int | SacHeaderInit (struct SAChead *sacheadp) |
int | WriteSAC_init (char *szOutDir, char *szOutputFormat, int bDebug) |
int | WriteSAC_shutdown (void) |
int | WriteSAC_Event_BAD (EWEventInfoStruct *pEvent, int WriteHtml) |
int | WriteSAC_StartEvent (EWEventInfoStruct *pEvent) |
int | WriteSAC_EndEvent (void) |
int | ProduceSAC_NextStationForEvent (EWChannelDataStruct *pChannel) |
int | WriteSAC_NextStationForEvent (EWChannelDataStruct *pChannel) |
int | WriteSAC_Set_dGapThresh (float IN_dGapThresh) |
Variables | |
float | WriteSAC_dGapThresh = 1.5 |
|
|
Definition at line 159 of file sac_2_ewevent.c. References SAChead::a, SAChead::az, SAChead::dist, SAChead::evdp, SAChead::evla, SAChead::evlo, EW_FAILURE, EW_SUCCESS, SAChead::f, InitEWChan(), SAChead::ka, SAChead::kcmpnm, SAChead::knetwk, SAChead::kstnm, SAChead::kt0, logit(), MAGTYPE_DURATION, SAChead::npts, SAChead::o, SAC_Ktostr(), SAC_reftime(), SACUNDEF, SAChead::stel, SAChead::stla, SAChead::stlo, and SAChead::t0. |
|
Definition at line 604 of file sac_2_ewevent.c. References K_LEN. Referenced by Sac2EWEvent(). |
|
Definition at line 563 of file sac_2_ewevent.c. References logit(), SAChead::nzhour, SAChead::nzjday, SAChead::nzmin, SAChead::nzmsec, SAChead::nzsec, SAChead::nzyear, and timegm_ew(). Referenced by Sac2EWEvent(). |
|
Definition at line 499 of file sac_2_ewevent.c. References EW_FAILURE, EW_SUCCESS, logit(), MAXINT, MAXSTRING, NUM_FLOAT, SAC_I_D, SAC_IBEGINTIME, SAC_ITIME, SAC_IUNKN, SAChead2::SACfloat, SAChead2::SACint, SAChead2::SACstring, SACUNDEF, and SACVERSION. |
|
|
|
Definition at line 739 of file sac_2_ewevent.c. References SACPABase_end_ev(). Referenced by WriteSAC_Event_BAD(). |
|
Definition at line 670 of file sac_2_ewevent.c. References EW_SUCCESS, logit(), ProduceSAC_NextStationForEvent(), WriteSAC_EndEvent(), WriteSAC_NextStationForEvent(), and WriteSAC_StartEvent(). |
|
Definition at line 642 of file sac_2_ewevent.c. References SACPABase_Debug(), and SACPABase_init(). |
|
Definition at line 956 of file sac_2_ewevent.c. References EW_SUCCESS, logit(), and SACPABase_end_scn(). Referenced by WriteSAC_Event_BAD(). |
|
Definition at line 976 of file sac_2_ewevent.c. References WriteSAC_dGapThresh. |
|
Definition at line 657 of file sac_2_ewevent.c. References SACPABase_close(). |
|
Definition at line 719 of file sac_2_ewevent.c. References _SAC_OriginStruct::dElev, _SAC_OriginStruct::dLat, _SAC_OriginStruct::dLon, SACPABase_next_ev(), and _SAC_OriginStruct::tOrigin. Referenced by WriteSAC_Event_BAD(). |
|
Definition at line 141 of file sac_2_ewevent.c. Referenced by WriteSAC_Set_dGapThresh(). |