Skip to content

Commit

Permalink
Update available sites for import_schedules
Browse files Browse the repository at this point in the history
  • Loading branch information
timbeccue committed Mar 1, 2025
1 parent fbed3e4 commit 99a0d9e
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions import_schedules.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,13 @@

ssm = boto3.client('ssm')

# Only query scheduler for observations at these sites
SITES_TO_USE_WITH_SCHEDULER = [
"mrc",
"aro",
"eco"
]

# This allows us to identify a site using configdb telescope ids
# WEMA → telescope ID → PTR site
SITE_FROM_WEMA_AND_TELESCOPE_ID = {
Expand All @@ -46,11 +53,6 @@
for tel_id, ptr_site in telescopes.items():
PTR_SITE_TO_WEMA_TELESCOPE[ptr_site] = (wema, tel_id)

# Only query scheduler for observations at these sites
SITES_TO_USE_WITH_SCHEDULER = [
"mrc"
]

# This lists the ptr sites running at each wema.
# When clearing old schedules, we iterate through wemas but need to clear for
# each individual site.
Expand Down

0 comments on commit 99a0d9e

Please sign in to comment.