diff --git a/geomagio/Metadata.py b/geomagio/Metadata.py index 7f3b3cca9f71eba7cd39d378e57a671260c19306..4cdf471a3d913dad9c0f6c538043eb56f4b3286b 100644 --- a/geomagio/Metadata.py +++ b/geomagio/Metadata.py @@ -283,20 +283,28 @@ _INSTRUMENT_METADATA = [ "start_time": None, "end_time": None, "instrument": { - "type": "Narod", + "type": "FGE", "channels": { - "U": [ - {"channel": "U_Volt", "offset": 0, "scale": 100}, - {"channel": "U_Bin", "offset": 0, "scale": 500}, - ], - "V": [ - {"channel": "V_Volt", "offset": 0, "scale": 100}, - {"channel": "V_Bin", "offset": 0, "scale": 500}, - ], - "W": [ - {"channel": "W_Volt", "offset": 0, "scale": 100}, - {"channel": "W_Bin", "offset": 0, "scale": 500}, - ], + # each channel maps to a list of components to calculate nT + # TODO: calculate these lists based on "FGE" type + "U": [{"channel": "U_Volt", "offset": 21690, "scale": 978.4}], + "V": [{"channel": "V_Volt", "offset": 0, "scale": 971.0}], + "W": [{"channel": "W_Volt", "offset": 45532, "scale": 966.7}], + }, + "electronics": { + "serial": "E570", + # these scale values are used to convert voltage + "x-scale": 978.4, # nT/V + "y-scale": 971.0, # nT/V + "z-scale": 966.7, # nT/V + "temperature-scale": 0.01, # V/K + }, + "sensor": { + "serial": "S0445", + # these constants combine with instrument setting for offset + "x-constant": 37474, # nT/mA + "y-constant": 37191, # nT/mA + "z-constant": 37025, # nT/mA }, }, },