-
Notifications
You must be signed in to change notification settings - Fork 0
/
update.py
30 lines (21 loc) · 967 Bytes
/
update.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
"""
Judah Van Zandt
Python 3
This module updates the tks_distantgiants_pool.txt and tks_distantgiants.txt files on GitHub, as well as creating the
overview.csv file and updating the list of observing requests for the SC2A program.
Written: June 1, 2020
Last modified: July 8, 2020
"""
import tks_distantgiants_photo as tks_photo
import tks_distantgiants_spec as tks_spec
import tks_distantgiants as tks
import overview as ov
from target_request_generator import generator, obs_request_list_gen, init_overview
from astropy.time import Time
tks_photo.update_distantgiants_photo(tks_photo.make_distantgiants_photo())
tks_spec.update_distantgiants_spec(tks_spec.make_distantgiants_spec(tks_photo.make_distantgiants_photo()))
tks.update_distantgiants(tks.make_distantgiants())
overview_df = ov.make_overview(plot=False, observability=False)
ov.update_overview(overview_df)
ov.update_trends(overview_df)
generator(obs_request_list_gen(init_overview(iers=False)))