NordicError¶
This module contains all class information related to NordicError header.
Functions and Classes¶
-
class
NordicError(header=None)¶ A class that functions as a collection of enums. Contains the information of the error header line of a nordic file.
Parameters: header (list) – The header of a nordic error in a list where each index of a value corresponds to NordicError’s pseudo-enum.
Variables: - gap (float) – Gap of the single analysis. 0-359
- second_error (float) – Error of the second value as seconds
- epicenter_latitude_error (float) – Error in the epicenter latitude error as deg
- epicenter_longitude_error (float) – Error in the epicenter longitude error as deg
- depth_error (float) – Error in the depth value as km
- magnitude_error (float) – Error in the magnitude value.
- header_id (int) – id of the main header this NordicError is conntected to
- h_id (int) – id of the NordicError in the database
- header_type (int) – This value tells that this is a NordicError object. Value of 5
- GAP (int) – Location of the gap in a array. Value of 0
- SECOND_ERROR (int) – Location of the second_error in a array. Value of 1
- EPICENTER_LATITUDE_ERROR (int) – Location of the epicenter_latitude_error in a array. Value of 2
- EPICENTER_LONGITUDE_ERROR (int) – Location of the epicenter_longitude_error in a array. Value of 3
- DEPTH_ERROR (int) – Location of the depth_error in a array. Value of 4
- MAGNITUDE_ERROR (int) – Location of the magnitude_error in a array. Value of 5
- HEADER_ID (int) – Location of the header_id in a array. Value of 6
- H_ID (int) – Location of the h_id in a array. Value of 7