Constants for the EW5 Oracle API


TRUE

Value: 1
Description:



FALSE

Value: 0
Description:



EWDB_RETURN_SUCCESS

Value: 0
Description: Value returned by a EWDB function that executes successfully.



EWDB_RETURN_FAILURE

Value: -1
Description: Value returned by a EWDB function that fails.



EWDB_RETURN_WARNING

Value: 1
Description: Value returned by a EWDB function that experiences non-fatal problems during execution. Please see individual function comments for a description of what this code means for each function.



EWDB_CRITERIA_USE_TIME

Value: 1
Description: Flag used to indicate whether or not a time criteria should be used in selecting a list of objects.



EWDB_CRITERIA_USE_LAT

Value: 2
Description: Flag used to indicate whether or not a lattitude criteria should be used.



EWDB_CRITERIA_USE_LON

Value: 4
Description: Flag used to indicate whether or not a longitude criteria should be used.



EWDB_CRITERIA_USE_DEPTH

Value: 8
Description: Flag used to indicate whether or not a depth criteria should be used.



EWDB_MAX_TIME

Value: 9999999999.9999
Description:



EWDB_MIN_TIME

Value: 0
Description:



EWDB_SMMOTION_TYPE_ACC

Value: 1
Description: Flag indicating that a measurement is of Acceleration.



EWDB_SMMOTION_TYPE_VEL

Value: 2
Description: Flag indicating that a measurement is of Velocity.



EWDB_SMMOTION_TYPE_DISP

Value: 3
Description: Flag indicating that a measurement is of Displacement.



EWDB_WAVEFORM_FORMAT_UNDEFINED

Value: 0
Description: Indicates that the data format of a waveform snippet is unknown.



EWDB_WAVEFORM_FORMAT_EW_TRACE_BUF

Value: 1
Description: Indicates that a waveform snippet is of type Earthworm Trace Buf. Please see Earthworm documentation of TRACE_BUF messages for more info.



EWDB_MAX_POLES_OR_ZEROES

Value: 100
Description: Maximum number of poles or zeroes allowed for a transfer function



EWDB_PZTYPE_POLE

Value: 1
Description: Flag indicating that a Pole/Zero is a Pole.



EWDB_PZTYPE_ZERO

Value: 0
Description: Flag indicating that a Pole/Zero is a Pole.



EWDB_EVENT_TYPE_UNKNOWN

Value: 0
Description: Flag indicating that the type of a DB Event is unknown.



EWDB_EVENT_TYPE_QUAKE

Value: 2
Description: Flag indicating that a DB Event is a Quake



EWDB_MAXIMUM_AMPS_PER_CODA

Value: 6
Description: Maximum number of coda average amplitude values per coda. 6 is derived from the maximum number of coda average amplitude windows tracked by Earthworm(Pick_EW).



EWDB_RAW_INFRA_NAME_LEN

Value: 6
Description: Standard name length for raw infrastructure applications, such as DeviceName, SlotName, and SlotTypeName.



EWDB_RAW_INFRA_NAME_LEN

Value: 6
Description: Standard name length for raw infrastructure applications, such as DeviceName, SlotName, and SlotTypeName.