get_hyp
Called by: get_data
Includes: iscloc.h
Input arguments:
Pointer to event
structure.
Array of hypocentre
structures.
Calls: sql_error
in oracle_funcs
Structure members updated:
time, lat, lon, depth, depfix, epifix, timfix, nsta, ndefsta, nass, ndef, mindist, maxdist, azimgap, etype, agency, minax, majax, theta, stime, sdepth, sdobs in hypocentre
structures.
Return: 0/1 for success/failure.
Written in ORACLE Pro*C this function needs to be precompiled to get C code.
This function selects data from the HYPOCENTER and HYPOC_ERR tables in the ISC database using the evid
stored in the event
structure and assigns values to members of the hypocentre
structure.