group=optparse.OptionGroup(parser,"Listener Options","General settings for configuring the listener.")
group.add_option("-v","--verbose",default=False,action="store_true",help="Print to stdout in addition to writing to automatically generated log.")
group.add_option("--log-level",type="int",default=10,help="Sets the verbosity of logging. Default = 10.")
group.add_option("--instrument",metavar="string",default="H1",help="Sets the instrument for files written to disk. Default = H1")
group.add_option("--target-channel",metavar="string",default="CAL-DELTAL_EXTERNAL_DQ",help="Sets the target channel to view. Default = CAL-DELTAL_EXTERNAL_DQ")
group.add_option("--rootdir",metavar="path",default=".",help="Location where log messages and sqlite database lives")
group.add_option("--tag",metavar="string",default="test",help="Sets the name of the tag used. Default = 'test'")
group.add_option("--sample-rate",type="int",metavar="Hz",default=1,help="Set the sample rate for feature timeseries output, must be a power of 2. Default = 1 Hz.")
group.add_option("--num-channels",type="int",help="Set the full number of channels being processed upstream, used for monitoring purposes.")
group.add_option("--processing-cadence",type="float",default=0.1,help="Rate at which the synchronizer acquires and processes data. Default = 0.1 seconds.")
group.add_option("--request-timeout",type="float",default=0.2,help="Timeout for requesting messages from a topic. Default = 0.2 seconds.")
group.add_option("--kafka-server",metavar="string",help="Sets the server url that the kafka topic is hosted on. Required.")
group.add_option("--input-topic-basename",metavar="string",help="Sets the input kafka topic basename. Required.")