'VectorSensOrient':{0:vector_orientation},#remove F - because its a calculation, not an element?
'VectorSensOrient':{0:vector_orientation},#remove F - because its a calculation, not an element?
'StandardLevel':{0:'None'},# Set to 'None'
'StandardLevel':{0:'None'},# Set to 'None'
...
@@ -436,7 +442,7 @@ class ImagCDFFactory(TimeseriesFactory):
...
@@ -436,7 +442,7 @@ class ImagCDFFactory(TimeseriesFactory):
returnvar_spec
returnvar_spec
def_create_var_attrs(self,trace:Trace)->dict:
def_create_var_attrs(self,trace:Trace)->dict:
print(trace.stats)
# print(trace.stats)
channel=trace.stats.channel
channel=trace.stats.channel
fieldnam=f"Geomagnetic Field Element {channel}"# “Geomagnetic Field Element ” + the element code or “Temperature ” + the name of the location where the temperature was recorded.
fieldnam=f"Geomagnetic Field Element {channel}"# “Geomagnetic Field Element ” + the element code or “Temperature ” + the name of the location where the temperature was recorded.
units=''# Must be one of “nT”, “Degrees of arc” or “Celsius”
units=''# Must be one of “nT”, “Degrees of arc” or “Celsius”