data_quality_control.sds_db module

class data_quality_control.sds_db.SDSProcessor(nslc_code, inventory_or_routing_type, sds_root, sds_dict={}, outdir='.', preprocessing=None, fileunit='year', FMTSTR=None, **procparams)

Bases: data_quality_control.base.GenericProcessor

Processor tailored to SDS data bases. Mainly provides a customized method

_set_inventory(inventory_or_routing_type)

Decide if inventory_or_routing_type is an obspy.Inventory or a filename or a string indicating the routing client.

expand_nslc(starttime, endtime)

Expand network, station, channel attributes (which can contain wildcards) to determine all unique networks, stations and channels available within requested time range.

Parameters
  • starttime (UTCDatetime) – begin of time range, we only use the year

  • endtime (UTCDateTime) – end of time range, we only use the year

Sets new attributes _networks, _stations, _locations, _channels