From c4545c4010371a128194663f48afc00ee91467a9 Mon Sep 17 00:00:00 2001
From: "E. Joshua Rigler" <erigler@usgs.gov>
Date: Fri, 29 Sep 2023 14:58:03 -0600
Subject: [PATCH] Update metadata for release 1.8.3

Also, remove BDT testing entries from Metdata.py before deploying
to production.
---
 code.json            |  6 ++---
 geomagio/Metadata.py | 62 --------------------------------------------
 pyproject.toml       |  2 +-
 3 files changed, 4 insertions(+), 66 deletions(-)

diff --git a/code.json b/code.json
index 3c337eca..41f524f0 100644
--- a/code.json
+++ b/code.json
@@ -3,7 +3,7 @@
     "name": "geomag-algorithms",
     "organization": "U.S. Geological Survey",
     "description": "Library for processing Geomagnetic timeseries data.",
-    "version": "1.8.0",
+    "version": "1.8.3",
     "status": "Development",
     "permissions": {
       "usageType": "openSource",
@@ -35,7 +35,7 @@
       "email": "gs-haz_dev_team_group@usgs.gov"
     },
     "date": {
-      "metadataLastUpdated": "2023-08-31"
+      "metadataLastUpdated": "2023-09-29"
     }
   }
-]
+]
\ No newline at end of file
diff --git a/geomagio/Metadata.py b/geomagio/Metadata.py
index 3d3e360e..76e5a0e4 100644
--- a/geomagio/Metadata.py
+++ b/geomagio/Metadata.py
@@ -67,68 +67,6 @@ _INSTRUMENT_METADATA = [
         "network": "NT",
         "station": "BDT",
         "start_time": UTCDateTime("2023-09-22T00:00:00.000Z"),
-        "end_time": UTCDateTime("2023-09-29T20:00:00.000Z"),
-        "instrument": {
-            "type": "FGE",
-            "channels": {
-                # each channel maps to a list of components to calculate nT
-                # TODO: calculate these lists based on "FGE" type
-                "U": [{"channel": "U_Volt", "offset": 20729.5, "scale": 966.7624}],
-                "V": [{"channel": "V_Volt", "offset": 0, "scale": 944.1253}],
-                "W": [{"channel": "W_Volt", "offset": 47042.5, "scale": 975.5875}],
-            },
-            "electronics": {
-                "serial": "E574",
-                # these scale values are calculated manually.
-                "x-scale": 966.7624,  # nT/V
-                "y-scale": 944.1253,  # nT/V
-                "z-scale": 975.5875,  # nT/V
-                "temperature-scale": 0.01,  # V/K
-            },
-            "sensor": {
-                "serial": "S0449",
-                # these constants combine with instrument setting for offset
-                "x-constant": 37027,  # nT/mA
-                "y-constant": 36160,  # nT/mA
-                "z-constant": 37365,  # nT/mA
-            },
-        },
-    },
-    {
-        "network": "NT",
-        "station": "BDT",
-        "start_time": UTCDateTime("2023-09-29T20:00:00.000Z"),
-        "end_time": UTCDateTime("2023-09-29T20:30:00.000Z"),
-        "instrument": {
-            "type": "FGE",
-            "channels": {
-                # each channel maps to a list of components to calculate nT
-                # TODO: calculate these lists based on "FGE" type
-                "U": [{"channel": "U_Volt", "offset": 20739.5, "scale": 966.7624}],
-                "V": [{"channel": "V_Volt", "offset": 0, "scale": 944.1253}],
-                "W": [{"channel": "W_Volt", "offset": 47042.5, "scale": 975.5875}],
-            },
-            "electronics": {
-                "serial": "E574",
-                # these scale values are calculated manually.
-                "x-scale": 966.7624,  # nT/V
-                "y-scale": 944.1253,  # nT/V
-                "z-scale": 975.5875,  # nT/V
-                "temperature-scale": 0.01,  # V/K
-            },
-            "sensor": {
-                "serial": "S0449",
-                # these constants combine with instrument setting for offset
-                "x-constant": 37027,  # nT/mA
-                "y-constant": 36160,  # nT/mA
-                "z-constant": 37365,  # nT/mA
-            },
-        },
-    },
-    {
-        "network": "NT",
-        "station": "BDT",
-        "start_time": UTCDateTime("2023-09-29T20:30:00.000Z"),
         "end_time": None,
         "instrument": {
             "type": "FGE",
diff --git a/pyproject.toml b/pyproject.toml
index 7057cef1..59ad3e90 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -17,7 +17,7 @@ packages = [
   {include = "geomagio" }
 ]
 repository="https://code.usgs.gov/ghsc/geomag/geomag-algorithms"
-version = "1.8.0"
+version = "1.8.3"
 
 
 [tool.poetry.dependencies]
-- 
GitLab