Open rubyvanrooyen opened 3 years ago
Relates to project describing steps to port the current email alert system to the TOMs interface: Issues #3, #4, and #5
Remote broker script name TBD (for discussion something like SALT_Xray_Overlap.py
or Xsats.py
can be used)
The broker gather all the relevant information and output a JSON dictionary or list of JSON dictionaries containing the relevant information (suggested in issue #4 )
[
{
"name":<str>, (default = name)
"id":<int>, (default = iteration)
"ra":<str>, ( default = ra_str)
"dec":<str>, (default = dec_str)
"epoch":<str>, (default = epoch )
"start_time":<str>, (default = start_time)
"end_time":<str>, (default = end_time)
"duration":<float> (default = duration)
},
...
]
Unify the web scraping file output, the SALT visibility file output as well as the file output from time overlap evaluation scripts into a single remote broker script that can provide JSON output for parsing by a TOM Toolkit alert implementation.
Current target broker scripts:
It should be noted that the initial implementation will add the remote broker functionality without remove the current file output scripts