-
Notifications
You must be signed in to change notification settings - Fork 0
A D3 widget for retrieving and displaying live weather data from an updating XML file.
License
marc-white/Weather-Panel
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
This weatherpanel is currently implemented at http://www.mso.anu.edu.au/metdata. The code that initialises the weather panel follows this pattern: // Initialise system once DOM is ready var debugmode = false; $(document).ready( function() { window.SSOmetdata = new telescopeMet(telescopeName); $('#scope').text('Human telescope name'); // Rename the header tag to the current telescope name window.SSOweatherPanel = new weatherPanel(SSOmetdata); // Create the panel window.SSOmetdata.updateData(function() { SSOweatherPanel.updatePanel(); }) // Initial data push window.SSOweatherPanel.startTimer(59000); // Start the timer })
About
A D3 widget for retrieving and displaying live weather data from an updating XML file.