diff --git a/code.json b/code.json index 3c337eca2368844108a9fd5888027c97719f5499..41f524f022b04416cf5b7e60b3be0e0a00bd2989 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 3d3e360ed7f31732ec17f5d9b90e7ff753932ede..76e5a0e47dc6d71bbb7632fa28b8f0f53cc85066 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 7057cef165018c592798dc9b1593e40a3066b8c4..59ad3e9081418abc9f0cd282b73d3c5ebaa0f608 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]