Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
geomag-algorithms
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ghsc
National Geomagnetism Program
geomag-algorithms
Commits
3fb2c5e0
Commit
3fb2c5e0
authored
2 years ago
by
Geels, Brendan Ryan
Browse files
Options
Downloads
Patches
Plain Diff
Correct data for BDT and SJT
parent
2cbeaca3
No related branches found
No related tags found
1 merge request
!216
Correct data for BDT and SJT
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
geomagio/Metadata.py
+28
-33
28 additions, 33 deletions
geomagio/Metadata.py
with
28 additions
and
33 deletions
geomagio/Metadata.py
+
28
−
33
View file @
3fb2c5e0
...
...
@@ -38,29 +38,25 @@ _INSTRUMENT_METADATA = [
"
type
"
:
"
FGE
"
,
"
channels
"
:
{
# each channel maps to a list of components to calculate nT
# Temporary values until actuals are obtained.
# TODO: calculate these lists based on "FGE" type
# TODO: Adjust offset for new FGE sensor & electronics? (installed 3/20/22)
"
U
"
:
[{
"
channel
"
:
"
U_Volt
"
,
"
offset
"
:
20613
,
"
scale
"
:
980
}],
"
V
"
:
[{
"
channel
"
:
"
V_Volt
"
,
"
offset
"
:
0
,
"
scale
"
:
980
}],
"
W
"
:
[{
"
channel
"
:
"
W_Volt
"
,
"
offset
"
:
47450
,
"
scale
"
:
980
}],
"
U
"
:
[{
"
channel
"
:
"
U_Volt
"
,
"
offset
"
:
20613
,
"
scale
"
:
966.762
}],
"
V
"
:
[{
"
channel
"
:
"
V_Volt
"
,
"
offset
"
:
0
,
"
scale
"
:
944.125
}],
"
W
"
:
[{
"
channel
"
:
"
W_Volt
"
,
"
offset
"
:
47450
,
"
scale
"
:
975.587
}],
},
"
electronics
"
:
{
"
serial
"
:
"
TBD
"
,
# these scale values are used to convert voltage
# Temporary values until actuals are obtained.
"
x-scale
"
:
980
,
# nT/V
"
y-scale
"
:
980
,
# nT/V
"
z-scale
"
:
980
,
# nT/V
"
x-scale
"
:
966.762
,
# nT/V
"
y-scale
"
:
944.125
,
# nT/V
"
z-scale
"
:
975.587
,
# nT/V
"
temperature-scale
"
:
0.01
,
# V/K
},
"
sensor
"
:
{
"
serial
"
:
"
TBD
"
,
# these constants combine with instrument setting for offset
# Temporary values until actuals are obtained.
"
x-constant
"
:
1
,
# nT/mA
"
y-constant
"
:
1
,
# nT/mA
"
z-constant
"
:
1
,
# nT/mA
"
x-constant
"
:
37027
,
# nT/mA
"
y-constant
"
:
36160
,
# nT/mA
"
z-constant
"
:
37365
,
# nT/mA
},
},
},
...
...
@@ -561,26 +557,25 @@ _INSTRUMENT_METADATA = [
"
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
"
:
320.0
}],
"
V
"
:
[{
"
channel
"
:
"
V_Volt
"
,
"
offset
"
:
0
,
"
scale
"
:
320.0
}],
"
W
"
:
[{
"
channel
"
:
"
W_Volt
"
,
"
offset
"
:
0
,
"
scale
"
:
320.0
}],
},
## this info should get updated when available
# "electronics": {
# "serial": "E0542",
# # these scale values are used to convert voltage
# "x-scale": 313.2, # nT/V
# "y-scale": 312.3, # nT/V
# "z-scale": 312.0, # nT/V
# "temperature-scale": 0.01, # V/K
# },
# "sensor": {
# "serial": "S0419",
# # these constants combine with instrument setting for offset
# "x-constant": 36958, # nT/mA
# "y-constant": 36849, # nT/mA
# "z-constant": 36811, # nT/mA
# },
"
U
"
:
[{
"
channel
"
:
"
U_Volt
"
,
"
offset
"
:
0
,
"
scale
"
:
313.203
}],
"
V
"
:
[{
"
channel
"
:
"
V_Volt
"
,
"
offset
"
:
0
,
"
scale
"
:
312.280
}],
"
W
"
:
[{
"
channel
"
:
"
W_Volt
"
,
"
offset
"
:
0
,
"
scale
"
:
311.958
}],
},
"
electronics
"
:
{
"
serial
"
:
"
E0542
"
,
# these scale values are used to convert voltage
"
x-scale
"
:
313.203
,
# nT/V
"
y-scale
"
:
312.280
,
# nT/V
"
z-scale
"
:
311.958
,
# nT/V
"
temperature-scale
"
:
0.01
,
# V/K
},
"
sensor
"
:
{
"
serial
"
:
"
S0419
"
,
# these constants combine with instrument setting for offset
"
x-constant
"
:
36958
,
# nT/mA
"
y-constant
"
:
36849
,
# nT/mA
"
z-constant
"
:
36811
,
# nT/mA
},
},
},
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment