pndaly / ARTN-ORP

Arizona Robotic Telescope Network Observation Request Portal
0 stars 1 forks source link

Arizona Robotic Telescope Network Observation Request Portal

Welcome to the Arizona Robotic Telescope Network Observation Request Portal (ARTN ORP) which is a Flask front end to a database for astronomers, scientists and engineers to request observations on the diversity of telescopes within the network. Users must be authorized and accredited to use the system.

Pre-Requisites

Get The Software

Create and Populate The Database and Tables

NB: All utility bash-shell scripts in ${ORP_BIN} support the --help argument for further information and the --dry-run option to show executable commands without invoking them. You would be well-advised to use them!

Configure For Local Site

You should now copy ${ORP_BIN}/ORP.template.sh, ${ORP_ETC}/ARTN.template.sh and ${ORP_ETC}/ORP.template.sh and edit the copies to suit your site and change:

% cp ${ORP_BIN}/ORP.template.sh ${ORP_BIN}/ORP.sh
% vi ${ORP_BIN}/ORP.sh
% cp ${ORP_ETC}/ARTN.template.sh ${ORP_ETC}/ARTN.sh
% vi ${ORP_ETC}/ARTN.sh
% cp ${ORP_ETC}/ORP.template.sh ${ORP_ETC}/ORP.sh
% vi ${ORP_ETC}/ORP.sh

Quick Start Guide

If you carried out the above, and assuming the codebase is in /home/artn/ARTN-ORP, you can start the application:

IERS Updates

Sometime during 2019 astropy/astroplan broke due to the IERS ephemeris server at USNO going offline. To fix this, we provide a cron job that updates the ephemeris from another source. The file ${ARTN_CRON}/iers.update.sh contains the crontab entry to show how to do this or the file can be run directly. We find that once per week is sufficient.

RTS2 Users Only

You should copy ${ORP_SRC}/telescopes/rts2_config.template.json and edit the copy to suit your site:

% cp ${ORP_SRC}/telescopes/rts2_config.template.json ${ORP_SRC}/telelscopes/rts2_config.json
% vi ${ORP_SRC}/telescopes/rts2_config.json

The rts2_config.json file contains the JSON snippet { "rts2url": "http://localhost:8889" } for which we have to create an SSH tunnel. To do this, execute (eg on the Kuiper telescope):

% xterm -e ssh -X -L 8889:localhost:8889 -p 42022 rts2obs@kuiper.as.arizona.edu &

Last Updated: 2020207