webapp
Web application module for AstroQ.
- astroq.webapp.download_nightplan(semester_code, date, band)[source]
Download the Magiq formatted night plan file
- astroq.webapp.dynamic_page(semester_code, date, band, page)[source]
Handle program, admin, and nightplan routes.
- astroq.webapp.load_data_for_path(semester_code, date, band, uptree_path)[source]
Load data for a specific semester_code/date/band combination
- Parameters:
semester_code (str) – the semester code
date (str) – the date in YYYY-MM-DD format
band (str) – the band
uptree_path (str) – the path to the uptree directory
- Returns:
True if data loaded successfully, False otherwise
- Return type:
success (bool)
- astroq.webapp.render_program_page(semester_code, date, band, program_code)[source]
Render the program overview page for a specific program