From 2183f95c925578bb1e669605bc1a10ff1e3decb7 Mon Sep 17 00:00:00 2001
From: "E. Joshua Rigler" <erigler@usgs.gov>
Date: Mon, 10 Mar 2025 15:09:57 -0600
Subject: [PATCH] Handle temperature-related sncls better

---
 geomagio/edge/LegacySNCL.py | 10 ++++++++++
 geomagio/edge/SNCL.py       |  5 +++++
 2 files changed, 15 insertions(+)

diff --git a/geomagio/edge/LegacySNCL.py b/geomagio/edge/LegacySNCL.py
index b0fdb39e..01190487 100644
--- a/geomagio/edge/LegacySNCL.py
+++ b/geomagio/edge/LegacySNCL.py
@@ -11,6 +11,16 @@ ELEMENT_CONVERSIONS = {
     "SV": "SV",
     "DIST": "DT",
     "DST": "GD",
+    # temperatures
+    "T1": "K1",
+    "T2": "K2",
+    "T3": "K3",
+    "T4": "K4",
+    "T5": "K5",
+    "T6": "K6",
+    "T7": "K7",
+    "T8": "K8",
+    "T9": "K9",
 }
 CHANNEL_CONVERSIONS = {
     ELEMENT_CONVERSIONS[key]: key for key in ELEMENT_CONVERSIONS.keys()
diff --git a/geomagio/edge/SNCL.py b/geomagio/edge/SNCL.py
index 0570a8bf..3028f82d 100644
--- a/geomagio/edge/SNCL.py
+++ b/geomagio/edge/SNCL.py
@@ -14,6 +14,11 @@ ELEMENT_CONVERSIONS = {
     "T2": "K2",
     "T3": "K3",
     "T4": "K4",
+    "T5": "K5",
+    "T6": "K6",
+    "T7": "K7",
+    "T8": "K8",
+    "T9": "K9",
 }
 
 CHANNEL_CONVERSIONS = {
-- 
GitLab