2019-01-10 22:51:49 +03:00
|
|
|
|
# Sky Banana Party
|
|
|
|
|
|
2019-01-23 08:40:53 +03:00
|
|
|
|
**See the app at <http://skybanana.party/>!** (Note: it will not work over
|
|
|
|
|
HTTPS — only plain HTTP for now ☹)
|
|
|
|
|
|
2019-01-23 08:37:13 +03:00
|
|
|
|
A website that shows recent [LIGO](https://www.ligo.org/) events on the sky.
|
|
|
|
|
It's got a silly name, but the hope is that it will show how to create a
|
|
|
|
|
simple web app that uses
|
|
|
|
|
[WorldWide Telescope](http://www.worldwidetelescope.org/) technology to power
|
2019-01-23 08:38:43 +03:00
|
|
|
|
a nice, interactive all-sky visualization of astronomical data.
|
2019-01-10 22:51:49 +03:00
|
|
|
|
|
2019-01-23 08:37:13 +03:00
|
|
|
|
This project was started during the [AAS233](https://aas.org/meetings/aas233)
|
|
|
|
|
Hack Together Day, but only the barest progress was made that day. Getting
|
|
|
|
|
nice localization sky maps out of LIGO data turned out to be harder than
|
|
|
|
|
anticipated!
|
2019-01-10 22:51:49 +03:00
|
|
|
|
|
2019-01-23 08:37:13 +03:00
|
|
|
|
## Technical Overview
|
|
|
|
|
|
2019-01-23 20:34:09 +03:00
|
|
|
|
The frontend of the website as seen by users is simple static content that’s
|
|
|
|
|
stored in `frontend/`. It’s very quick to create a WWT control, and then
|
|
|
|
|
there’s some custom JavaScript to download the LIGO event data and render them
|
|
|
|
|
in the WWT framework. The frontend is served off of Google Cloud Storage.
|
|
|
|
|
|
|
|
|
|
The frontend makes API calls against a backend that provides programmatic
|
|
|
|
|
access to a small database. The backend runs in
|
|
|
|
|
[Google App Engine](https://cloud.google.com/appengine/), simply because it’s
|
|
|
|
|
a system with which the author was familiar. The main implementation is in
|
|
|
|
|
`backend/main.py`. It’s relatively simple, and just provides a small API for
|
|
|
|
|
retrieving data about LIGO events and their localizations.
|
2019-01-23 08:37:13 +03:00
|
|
|
|
|
|
|
|
|
The idea is that when LIGO is running, the app will show events as they occur.
|
|
|
|
|
But in the meantime, we have to show something. The directory `bootstrap/` has
|
2019-01-23 08:38:43 +03:00
|
|
|
|
code to bootstrap the event database with data from the LIGO
|
2019-01-23 08:37:13 +03:00
|
|
|
|
[O1/O2 Catalog](https://www.ligo.org/detections/O1O2catalog.php).
|
|
|
|
|
|
|
|
|
|
## Legalities
|
2019-01-10 22:51:49 +03:00
|
|
|
|
|
|
|
|
|
Copyright 2019 Peter K. G. Williams. Licensed under the MIT license.
|