Skip to content
Snippets Groups Projects
Commit ce57ae30 authored by Geels, Brendan Ryan's avatar Geels, Brendan Ryan :tophat:
Browse files

Fix HOT metadata

parent e2f1bde9
No related branches found
No related tags found
1 merge request!219Fix metadata for hot, gut, sjt, and tuc.
......@@ -404,25 +404,25 @@ _INSTRUMENT_METADATA = [
{
"network": "NT",
"station": "HOT",
"start_time": None,
"start_time": "2022-07-14T16:07:30.000Z",
"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": 971.8}],
"V": [{"channel": "V_Volt", "offset": 0, "scale": 970.6}],
"W": [{"channel": "W_Volt", "offset": 0, "scale": 960.2}],
"U": [{"channel": "U_Volt", "offset": 27123, "scale": 315.4}],
"V": [{"channel": "V_Volt", "offset": 0, "scale": 315.0}],
"W": [{"channel": "W_Volt", "offset": 21158, "scale": 311.7}],
},
# this info should get updated when available
"electronics": {
"serial": "E558",
# these scale values are used to convert voltage
# these are calculated using Ohm's law, given scaling resistor value, and given nT/mA values.
"x-scale": 971.8, # nT/V
"y-scale": 970.6, # nT/V
"z-scale": 960.2, # nT/V
"x-scale": 315.4, # nT/V
"y-scale": 315.0, # nT/V
"z-scale": 311.7, # nT/V
"temperature-scale": 0.01, # V/K
},
"sensor": {
......@@ -613,7 +613,7 @@ _INSTRUMENT_METADATA = [
},
},
},
## Leaving this old object in comments in case we want to save it in the actual database as historical data
## Leaving these old objects in comments in case we want to save it in the actual database as historical data
# {
# "network": "NT",
# "station": "TUC",
......@@ -637,4 +637,37 @@ _INSTRUMENT_METADATA = [
# },
# },
# },
# {
# "network": "NT",
# "station": "HOT",
# "start_time": None,
# "end_time": "2022-07-14T16:07:30.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": 0, "scale": 971.8}],
# "V": [{"channel": "V_Volt", "offset": 0, "scale": 970.6}],
# "W": [{"channel": "W_Volt", "offset": 0, "scale": 960.2}],
# },
# # this info should get updated when available
# "electronics": {
# "serial": "E558",
# # these scale values are used to convert voltage
# # these are calculated using Ohm's law, given scaling resistor value, and given nT/mA values.
# "x-scale": 971.8, # nT/V
# "y-scale": 970.6, # nT/V
# "z-scale": 960.2, # nT/V
# "temperature-scale": 0.01, # V/K
# },
# "sensor": {
# "serial": "S0428",
# # these constants combine with instrument setting for offset
# "x-constant": 37220, # nT/mA
# "y-constant": 37175, # nT/mA
# "z-constant": 36775, # nT/mA
# },
# },
# },
]
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment