From ed1fd1e92972716a09332f2c17c74947479e0b9d Mon Sep 17 00:00:00 2001
From: Alex Wernle <awernle@usgs.gov>
Date: Wed, 14 Feb 2024 10:59:29 -0700
Subject: [PATCH] Making Event class a bit more general.

---
 geomagio/metadata/Flag.py | 12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)

diff --git a/geomagio/metadata/Flag.py b/geomagio/metadata/Flag.py
index 327e2c1f..716be182 100644
--- a/geomagio/metadata/Flag.py
+++ b/geomagio/metadata/Flag.py
@@ -97,7 +97,9 @@ class Gap(Flag):
 
 class EventType(str, Enum):
     GEOMAGNETIC_STORM = "GEOMAGNETIC_STORM"
+    GEOMAGNETIC_SUBSTORM = "GEOMAGNETIC_SUBSTORM"
     EARTHQUAKE = "EARTHQUAKE"
+    OTHER = "OTHER"
 
 
 class Event(Flag):
@@ -109,16 +111,16 @@ class Event(Flag):
     event_type : EventType
         The type of event.
     scale : str
-        Geomagnetic storm scale denoted by G followed by a number 1 through 5.
-    Kp : int
-        Planetary K-index denoted by a number 1 through 10
+        Geomagnetic storm scale or Richter scale magnitude.
+    index : int
+        Planetary K-index, DST index or some other index.
     url : str
-        A url related to the event. Could be NOAA SWPC or USGS Earthquakes page.
+        A url related to the event. Could be NOAA SWPC, USGS Earthquakes page or another site.
     """
 
     event_type: EventType
     scale: str = None
-    Kp: int = None
+    index: int = None
     url: str = None
 
 
-- 
GitLab