@@ -147,12 +144,12 @@ class FDSNFactory(TimeseriesFactory):
...
@@ -147,12 +144,12 @@ class FDSNFactory(TimeseriesFactory):
raiseTimeseriesFactoryException(
raiseTimeseriesFactoryException(
'Starttime before endtime "%s""%s"'%(starttime,endtime)
'Starttime before endtime "%s""%s"'%(starttime,endtime)
)
)
######################
######################
#I do not entirely understand what the pupose of the sys.stdout was tryinig to accomplish
#I do not entirely understand what the pupose of the sys.stdout was tryinig to accomplish
# so I left it out but I think this may be worth a discussion. Apart from this I removed a lot of
# so I left it out but I think this may be worth a discussion. Apart from this I removed a lot of
# post processing functionality that dealt with removing NaN values from the timeseries. My understadning is that
# post processing functionality that dealt with removing NaN values from the timeseries. My understadning is that
# the IRIS DMC will return empty data but not NaN values.
# the IRIS DMC will return empty data but not NaN values.
######################
######################
# # obspy factories sometimes write to stdout, instead of stderr
# # obspy factories sometimes write to stdout, instead of stderr
...
@@ -182,8 +179,6 @@ class FDSNFactory(TimeseriesFactory):
...
@@ -182,8 +179,6 @@ class FDSNFactory(TimeseriesFactory):
returntimeseries
returntimeseries
def_get_timeseries(
def_get_timeseries(
self,
self,
starttime:UTCDateTime,
starttime:UTCDateTime,
...
@@ -333,7 +328,7 @@ class FDSNFactory(TimeseriesFactory):
...
@@ -333,7 +328,7 @@ class FDSNFactory(TimeseriesFactory):
"This is provisional data. Any data secured from the USGS database that are identified as provisional have not received Director's approval and are subject to revision. Source and Authority: U.S. Geological Survey Manual, Section 500.24",
"This is provisional data. Any data secured from the USGS database that are identified as provisional have not received Director's approval and are subject to revision. Source and Authority: U.S. Geological Survey Manual, Section 500.24",
"DISCLAIMER",
"DISCLAIMER",
]
]
def_set_metadata(
def_set_metadata(
self,
self,
stream:Stream,
stream:Stream,
...
@@ -363,7 +358,7 @@ class FDSNFactory(TimeseriesFactory):
...
@@ -363,7 +358,7 @@ class FDSNFactory(TimeseriesFactory):
self,trace:Trace,starttime:UTCDateTime
self,trace:Trace,starttime:UTCDateTime
)->tuple[float,float]:
)->tuple[float,float]:
# Retrieve station orientation information using FDSN for each trace
# Retrieve station orientation information using FDSN for each trace