Use other freqs in collect_from_opcua

pull/3/merge
Tammo Jan Dijkema 2020-05-28 11:31:09 +02:00
parent 963aa7f071
commit e183746b8f
1 changed files with 3 additions and 1 deletions

View File

@ -1,5 +1,7 @@
#!/usr/bin/env python #!/usr/bin/env python
import matplotlib
matplotlib.use("Agg")
import time import time
from lofarimaging.opc_interface import download_xst from lofarimaging.opc_interface import download_xst
from lofarimaging import make_xst_plots from lofarimaging import make_xst_plots
@ -30,7 +32,7 @@ if __name__ == "__main__":
while True: while True:
for station_name in ("RS210", "RS208", "CS103"): for station_name in ("RS210", "RS208", "CS103"):
for subband in (150, 250, 350, 375, 400, 425): for subband in (150, 250, 300, 350, 375, 400):
thread = threading.Thread(target=download_and_image, args=(station_name, subband)) thread = threading.Thread(target=download_and_image, args=(station_name, subband))
thread.start() thread.start()
time.sleep(30) time.sleep(30)