Open rubyvanrooyen opened 3 years ago
Relates to issue #3
Okay seems the GTIvsSALT.py
script outputs both SALT window (SALTstart and SALTend) times, as well as general target overlap time (GTIstart and GTIend)
Per target output for GTIvsSALT.py
routine to determine overlaps
print(f'Target: {SALTtarget.replace('_',' ')}')
print(f'Start (UT): {obsstart} '\t' '\t' 'End (UT): {obsend} \t Overlap: {overlaplength}')
print(f'SALT window: \t \t {SALTstart} \t {SALTend}')
print(f'{satellite} interval: \t {GTIstart} \t {GTIend}')
Determine SALT visibility windows overlap with RXTE Good Time Intervals (GTI) for a target
Reads to SALT visibility file that was created in the previous step, as well as the satellite targets. It uses minimum overlap duration requested by the user as an evaluator to find suitable targets. Currently another file is created, but this overlap_start and overlap_end ( + duration) information can be returned to the broker script to be added to the per target JSON