NordicMacroseismic

This module contains all class information related to NordicMacroseismic header

Functions and Classes

class NordicMacroseismic(header=None)

A class that functions as a collection of enums. Contains the information of the macroseismic header line of a nordic file.

Parameters:

header (list) – The header of a nordic macroseismic in a list where each index of a value corresponds to NordicMacroseismic’s pseudo-enum.

Variables:
  • description (string) – Description of the macroseismic event. Maximum of 15 characters
  • diastrophism_code (string) – Diastrophism code - PDE type (F, U, D)
  • tsunami_code (string) – Tsunami code - PDE type (T, Q)
  • seiche_code (string) – Seiche code - PDE type (S, Q)
  • cultural_effects (string) – Cultural effects - PDE type (C, D, F, H)
  • unusual_effects (string) – Unsusual effects - PDE type (L, G, S, B, C, V, O, M)
  • maximum_observed_intensity (int) – Maximum of the observed intesity
  • maximum_intensity_qualifier (string) – Maximum intensity qualifier (+/- indicating more precisely)
  • intensity_scale (string) – Intesity Scale - ISC scale (MM, RF, CS, SK)
  • macroseismic_latitude (float) – Latitude of the event
  • macroseismic_longitude (float) – Longitude of the event
  • macroseismic_magnitude (float) – Magnitude of the event
  • type_of_magnitude (string) – Type of the magnitude (I, A, R, *)
  • logarithm_of_radius (float) – Logarithm (base 10) of the radius(km) of felt area
  • logarithm_of_area_1 (float) – Logarithm (base 10) of area(km**2) number 1 where earthquake was felt exceeding a given intensity
  • bordering_intensity_1 (int) – Intensity bordering the area number 1
  • logarithm_of_area_2 (float) – Logarithm (base 10) of area(km**2) number 2 where earthquake was felt exceeding a given intensity
  • bordering_intensity_2 (int) – Intensity bordering the area number 2
  • quality_rank (string) – Quality rank of the report (A, B, C, D)
  • reporting_agency (string) – Reporting agency
  • pid (int) – Permanent id of the event of the Macroseismic header, or more like the solution it refers to
  • h_id (int) – Id of the NordicMacroseismic header in the database
  • header_type (int) – This value tells that this is a NordicMacroseismic object. Value of 2
  • DESCRIPTION (int) – Location of the description in a array. Value of 0
  • DIASTROPHISM_CODE (int) – Location of the diastrophism_code in a array. Value of 1
  • TSUNAMI_CODE (int) – Location of the tsunami_code in a array. Value of 2
  • SEICHE_CODE (int) – Location of the seiche_code in a array. Value of 3
  • CULTURAL_EFFECTS (int) – Location of the cultural_effects in a array. Value of 4
  • UNUSUAL_EFFECTS (int) – Location of the unusual_effects in a array. Value of 5
  • MAXIMUM_OBSERVED_INTENSITY (int) – Location of the maximum_observed_intensity in a array. Value of 6
  • MAXIMUM_INTENSITY_QUALIFIER (int) – Location of the maximum_intensity_qualifier in a array. Value of 7
  • INTENSITY_SCALE (int) – Location of the intensity_scale in a array. Value of 8
  • MACROSEISMIC_LATITUDE (int) – Location of the macroseismic_latitude in a array. Value of 9
  • MACROSEISMIC_LONGITUDE (int) – Location of the macroseismic_longitude in a array. Value of 10
  • MACROSEISMIC_MAGNITUDE (int) – Location of the macroseismic_magnitude in a array. Value of 11
  • TYPE_OF_MAGNITUDE (int) – Location of the type_of_magnitude in a array. Value of 12
  • LOGARITHM_OF_RADIUS (int) – Location of the logarithm_of_radius in a array. Value of 13
  • LOGARITHM_OF_AREA_1 (int) – Location of the logarithm_of_area_1 in a array. Value of 14
  • BORDERING_INTENSITY_1 (int) – Location of the bordering_intensity_1 in a array. Value of 15
  • LOGARITHM_OF_AREA_2 (int) – Location of the logarithm_of_area_2 in a array. Value of 16
  • BORDERING_INTENSITY_2 (int) – Location of the bordering_intensity_2 in a array. Value of 17
  • QUALITY_RANK (int) – Location of the quality_rank in a array. Value of 18
  • REPORTING_AGENCY (int) – Location of the reporting_agency in a array. Value of 19
  • PID (int) – Location of the pid in a array. Value of 20
  • ID (int) – Location of the id in a array. Value of 21