@@ -87,7 +87,6 @@ from lal.utils import CacheEntry
# "--inj-framexmit-iface", metavar = "name", default "10.14.0.1", action = "append", help = "Set the interface address to process for injections (required if --inj-channel-name set). default 10.14.0.1")
# "--ht-gate-threshold", metavar = "float", help = "Set the h(t) gate threshold to reject glitches", type="float")
# "--ht-gate-threshold-linear", metavar = "string", help = "Set the scale for h(t) gate threshold to reject glitches", type="string". set as mchirp_min:ht_gate_threshold_min-mchirp_max:ht_gate_threshold_max (example: --ht-gate-threshold-linear 0.8:12.0-45.0:100.0)
# "--do-iir-pipeline", action = "store_true", help = "run the iir pipeline instead of lloid")
# "--max-jobs", metavar = "num", type = "int", help = "stop parsing the cache after reaching a certain number of jobs to limit what is submitted to the HTCondor pool")
# "--likelihood-cache", help = "set the cache containin likelihood files")
# "--zerolag-likelihood-cache", help = "set the cache containin zerolag likelihood files")
...
...
@@ -173,6 +172,74 @@ class lvalert_listen_node(pipeline.CondorDAGNode):
parser.add_option("--inj-framexmit-iface",metavar="name",action="append",help="Set the interface address to process for injections (required if --inj-channel-name set).")
parser.add_option("--ht-gate-threshold",metavar="float",help="Set the h(t) gate threshold to reject glitches",type="float")
parser.add_option("--ht-gate-threshold-linear",metavar="mchirp_min:ht_gate_threshold_min-mchirp_max:ht_gate_threshold_max",type="string",help="Set the threshold on whitened h(t) to mark samples as gaps (glitch removal) with a linear scale of mchirp")
parser.add_option("--do-iir-pipeline",action="store_true",help="run the iir pipeline instead of lloid")
parser.add_option("--max-jobs",metavar="num",type="int",help="stop parsing the cache after reaching a certain number of jobs to limit what is submitted to the HTCondor pool")
parser.add_option("--likelihood-cache",help="set the cache containin likelihood files")
parser.add_option("--zerolag-likelihood-cache",help="set the cache containin zerolag likelihood files")
...
...
@@ -237,6 +303,7 @@ def parse_command_line():
parser.add_option("--state-backup-destination",metavar="URL",help="Location to back state up to, e.g. gstlalcbc@ldas-pcdev1.ligo.caltech.edu.")
parser.add_option("--web-dir",help="set the output path to write the ''offline'' style web page to")
parser.add_option("--time-slide-file",metavar="filename",help="Set the time slide table xml file")
parser.add_option("--output-kafka-server",metavar="addr",help="Set the kafka server hostname to send output data to - note, for now this must be the cluster facing ip address of the submit node. example = 10.14.0.112:9092")
## Write the analysis to a special file that the summary page can find by default
#with open(os.path.join(cgibinpath, "gstlalcbc_analysis.txt"), "w") as webfile:
# webfile.write(query)
#print >>sys.stderr, "\n\n NOTE! You can monitor the analysis at this url: %s/~%s/cgi-bin/gstlalcbcsummary?%s \n\n" % (inspiral_pipe.webserver_url(), os.environ['USER'], query)
#if inj_jobTags:
# print >>sys.stderr, "\n\n NOTE! You can monitor the injection analysis at this url: %s/~%s/cgi-bin/gstlalcbcsummary?id=%s,%s&dir=%s&ifos=%s \n\n" % (inspiral_pipe.webserver_url(), os.environ['USER'], inj_jobTags[0], inj_jobTags[-1], os.getcwd(), ",".join(sorted(bank_cache.keys())))