Skip to content
Snippets Groups Projects

Align mseed

1 file
+ 3
0
Compare changes
  • Side-by-side
  • Inline
"""Factory that loads data from earthworm and writes to Edge.
"""Factory that loads data from earthworm and writes to Edge.
EdgeFactory uses obspy earthworm class to read data from any
EdgeFactory uses obspy earthworm class to read data from any
earthworm standard Waveserver using the obspy getWaveform call.
earthworm standard Waveserver using the obspy getWaveform call.
@@ -263,4+263,4 @@
@@ -263,4+263,4 @@
data = self._get_timeseries(
data = self._get_timeseries(
starttime, endtime, observatory, component["channel"], type, interval
starttime, endtime, observatory, component["channel"], type, interval
)[0]
)[0]
 
TimeseriesUtility.pad_and_trim_trace(
 
trace=data, starttime=starttime, endtime=endtime
 
)
# convert to nT
# convert to nT
nt = data.data * component["scale"] + component["offset"]
nt = data.data * component["scale"] + component["offset"]
# add to converted
# add to converted
@@ -387,7+390,7 @@
@@ -387,7+390,7 @@
type : str
type : str
data type {definitive, quasi-definitive, variation}
data type {definitive, quasi-definitive, variation}
interval : str
interval : str
interval length {'day', 'hour', 'minute', 'second', 'tenhertz'}
interval length {'day', 'hour', 'minute', 'second', 'tenhertz'}
Returns
Returns
-------
-------
Loading