-
Notifications
You must be signed in to change notification settings - Fork 0
/
pipe.py
46 lines (20 loc) · 842 Bytes
/
pipe.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# -*- coding: utf-8 -*-
"""
Created on Mon Feb 19 17:07:31 2024
@author: psyfi
"""
# Queue of processing
# Create queue of files for processing
# Array of completed tokens
# Simple watcher version
while True:
# Check resources aren't being hammered
# Check there is new stuff in the local directory
# If so, chuck them in the queue and keep track of the completed tokens
# Queue items: list of filenames, links to calibration frames, telescope, cameraname, filterlist, mono, aropipe
# at some point during the day, late afternoon perhaps, pause processing to get the latest calibration files
print ("yay")
# Nightly reset
def nightly_reset(self):
# Basically downloads and re-loads the latest calibration files
print ("yay")