BHTOM-Team / bhtom2

7 stars 2 forks source link

Facilities - send email with a target list #58

Open wyrzykow opened 1 year ago

wyrzykow commented 1 year ago

In Facility, there should be stored: dedicated filter for targets, e.g. on mag or Dec, as well as email address where to send the target list and how frequently.

Additionally: the system could also check which targets previously send to the Facility, have lowered their priority and should not be observed anymore. The email should contain the list of target which should not be observed anymore.

This applies only to manually operated Facilities, e.g. Ostrowik or SUTO.

This task requires the following components in the code:

  1. email sender within BHTOM
  2. cron-like thing in BHTOM which stores when a given action was performed, when is the next one expected (this will be useful also in check for new data for archival surveys)
  3. users can manually edit their filters and email and frequency details, so we need a database with Observatories connected to Facilities code (also for ObsInfo?)
wyrzykow commented 3 months ago

partially done in form of separate scripts per Facility, send by LW manually every Monday. We want this feature in BHTOM so that people can generate their own subscription/notification. MOP (LCO's TOM) has it already (Kasia Kruszynska, Aug.2024 priv com), we could grab it from there.