Programming Work the weather of the moment

The banner image on this page updates every ten minutes. There are a total of 12 possible images that can be displayed, and the currently displayed image is the one that best represents the current weather at MIT. The javascript that powers this page pulls data from an XML file downloaded via shell script from the NOAA. The data in the XML file is parsed and combined with a script that calculates the sunrise and sunset to determine if it is night or day.

previous