Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AEON module for REM robotic telescope #1116

Open
wyrzykow opened this issue Nov 12, 2024 · 2 comments
Open

AEON module for REM robotic telescope #1116

wyrzykow opened this issue Nov 12, 2024 · 2 comments
Labels
enhancement New feature or request User Issue Raised by a user

Comments

@wyrzykow
Copy link

We would like to build a full AEON plugin to the REM telescope.

REM is an Italian robotic telescope http://www.rem.inaf.it/ installed in La Silla, Chile. Diameter 60cm, it observes in griz and JHK filters, with a nice feature that griz are taken all at the same time.

Their scheduler at this moment accepts automated requests in the form of an email in a defined format. This has been coded and it works. It requires an active proposal of course.

REM Archive is a Postgres database, which has a nicely designed API. The Warsaw team has been processing the data collected for our proposals using a batch script.

To my understanding, all pieces are there to build a full AEON plugin for REM - sending requests and accessing the data.
The facility code for REM is now part of bhtom3 repo and has been tested there:
https://github.com/BHTOM-Team/bhtom3/blob/main/bhtom3/bhtom_observations/facilities/rem.py

It requires these settings, I list there the proposals we have active now.
'REM': {
'proposalIDs': ((50823, "ORP-PI:Mariusz Gromadzki"),(50712,"CNTAC-PI:Rene Mendez") ),
'email': "[email protected]",
},

Additionally, the emailing has to be setup, currently I do it by adding these in the settings:
EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend'
EMAIL_HOST = secret.get('EMAIL_HOST')
EMAIL_PORT = secret.get('EMAIL_PORT')
EMAIL_USE_TLS = secret.get('EMAIL_USE_TLS', True)
EMAIL_HOST_USER = TOMEMAIL
EMAIL_HOST_PASSWORD = TOMEMAILPASSWORD

The code for accessing the data archive will be attached later.


A footnote: the proposal model should also be changed in TOM to avoid the need of updating the settings every semester. Also not every user can have access to all the proposals, as it is now.

@wyrzykow wyrzykow added the enhancement New feature or request label Nov 12, 2024
@github-project-automation github-project-automation bot moved this to Triage in TOM Toolkit Nov 12, 2024
@jchate6 jchate6 added the User Issue Raised by a user label Nov 12, 2024
@jchate6
Copy link
Contributor

jchate6 commented Nov 12, 2024

@wyrzykow Do you know if there is an automated way to retrieve a list of your current proposals from REM given a valid username?

@wyrzykow
Copy link
Author

@jchate6 I have to ask about this, because in the archive of rem I can not find this, only the images.

I will send the scripts to access the archive via email, as I can not attach them here.

@jchate6 jchate6 moved this from Triage to Backlog in TOM Toolkit Nov 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request User Issue Raised by a user
Projects
Status: Backlog
Development

No branches or pull requests

2 participants