From db9274d1801619f4334ee656745d5938f0153212 Mon Sep 17 00:00:00 2001 From: pcain <pcain@usgs.gov> Date: Thu, 2 Sep 2021 15:59:03 -0600 Subject: [PATCH] add CMT FGE metadata --- geomagio/Metadata.py | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/geomagio/Metadata.py b/geomagio/Metadata.py index 47b584fe..d235f7f4 100644 --- a/geomagio/Metadata.py +++ b/geomagio/Metadata.py @@ -106,6 +106,37 @@ _INSTRUMENT_METADATA = [ }, }, }, + { + "network": "NT", + "station": "CMT", + "start_time": None, + "end_time": None, + "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": 0, "scale": 967.7}], + "V": [{"channel": "V_Volt", "offset": 0, "scale": 969.7}], + "W": [{"channel": "W_Volt", "offset": 0, "scale": 973.4}], + }, + "electronics": { + "serial": "E0568", + # these scale values are used to convert voltage + "x-scale": 967.7, # V/nT + "y-scale": 969.7, # V/nT + "z-scale": 973.4, # V/nT + "temperature-scale": 0.01, # V/K + }, + "sensor": { + "serial": "S0443", + # these constants combine with instrument setting for offset + "x-constant": 37062, # nT/mA + "y-constant": 37141, # nT/mA + "z-constant": 37281, # nT/mA + }, + }, + }, { "network": "NT", "station": "FDT", -- GitLab