diff --git a/geomagio/Metadata.py b/geomagio/Metadata.py index 76e5a0e47dc6d71bbb7632fa28b8f0f53cc85066..37e788794b10035569faa55fef5a12f7d85d45d9 100644 --- a/geomagio/Metadata.py +++ b/geomagio/Metadata.py @@ -166,23 +166,31 @@ _INSTRUMENT_METADATA = [ { "network": "NT", "station": "BRW", - "start_time": None, + "start_time": UTCDateTime("2023-10-23T19:00:00.000Z"), "end_time": None, "instrument": { - "type": "Narod", + "type": "FGE", "channels": { - "U": [ - {"channel": "U_Volt", "offset": 0, "scale": 100}, - {"channel": "U_Bin", "offset": 0, "scale": 506}, - ], - "V": [ - {"channel": "V_Volt", "offset": 0, "scale": 100}, - {"channel": "V_Bin", "offset": 0, "scale": 505.6}, - ], - "W": [ - {"channel": "W_Volt", "offset": 0, "scale": 100}, - {"channel": "W_Bin", "offset": 0, "scale": 506}, - ], + # each channel maps to a list of components to calculate nT + # TODO: calculate these lists based on "FGE" type + "U": [{"channel": "U_Volt", "offset": 9217, "scale": 5797.3}], + "V": [{"channel": "V_Volt", "offset": 0, "scale": 5777.6}], + "W": [{"channel": "W_Volt", "offset": 56442, "scale": 5895.6}], + }, + "electronics": { + "serial": "????", + # these scale values are calculated manually. + "x-scale": 5797.3, # nT/V + "y-scale": 5777.6, # nT/V + "z-scale": 5895.6, # nT/V + "temperature-scale": 0.01, # V/K + }, + "sensor": { + "serial": "????", + # these constants combine with instrument setting for offset + "x-constant": None, # nT/mA + "y-constant": None, # nT/mA + "z-constant": None, # nT/mA }, }, }, @@ -1007,4 +1015,27 @@ _INSTRUMENT_METADATA = [ }, }, }, + { + "network": "NT", + "station": "BRW", + "start_time": None, + "end_time": UTCDateTime("2023-10-23T20:00:00.000Z"), + "instrument": { + "type": "Narod", + "channels": { + "U": [ + {"channel": "U_Volt", "offset": 0, "scale": 100}, + {"channel": "U_Bin", "offset": 0, "scale": 506}, + ], + "V": [ + {"channel": "V_Volt", "offset": 0, "scale": 100}, + {"channel": "V_Bin", "offset": 0, "scale": 505.6}, + ], + "W": [ + {"channel": "W_Volt", "offset": 0, "scale": 100}, + {"channel": "W_Bin", "offset": 0, "scale": 506}, + ], + }, + }, + }, ]