1 <% #include "html.h" %>
3 <% /* Global functions */ %>
4 <% void print_header(void) { %>
5 Content-Type: text/html; charset=UTF-8
9 <% void print_nav(const page_t *page, const page_t *cur) { %>
10 <% const char *class = page == cur ? " class=\"cur\"" : ""; %>
11 <a href="<%= page->link %>"<%= class %>><%= page->name %></a>
14 <% void print_screen(char *name) { %>
15 <a href="screens/<%= name %>.png">
16 <img src="screens/<%= name %>_s.jpg" alt="<%= name %>" class="screen" />
20 <% void print_page(const page_t *page) { %>
21 <?xml version="1.0" encoding="UTF-8"?>
22 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
23 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
25 <title>AWeather<% if (page->name) printf(" - %s", page->name); %></title>
26 <link rel="shortcut icon" href="images/aweather.ico" />
27 <link href="data/global.css" rel="stylesheet" type="text/css" />
28 <meta http-equiv="X-UA-Compatible" content="IE=9" />
29 <meta http-equiv="Content-Type" content="application/xhtml+xml; charset=UTF-8" />
30 <meta name="keywords" content="weather, radar, nexrad, level-ii, virtual globe, grits, rsl" />
31 <% if (page->desc) { %>
32 <meta name="description" content="<%= page->desc %>" />
34 <meta name="google-site-verification" content="-SZkTpNRWHrpESTGNZ8Pshnz4zKbwfKv54NoavUKK_Y" />
35 <meta name="y_key" content="abe8287921b25151" />
39 <a href="."><img class="logo" src="images/logo.png" alt="AWeather" /></a>
40 <h1 class="title"><a href=".">AWeather</a></h1>
42 <% for (int i = 0; header[i].link; i++) print_nav(&header[i], page); %>
43 <span class="sep"></span>
44 <% for (int i = 0; other[i].link; i++) print_nav(&other[i], page); %>
49 <p class="msg">This site is currently under construction.</p>
50 <p class="msg" style="font-size:8pt; font-weight:normal;">
51 If I had an animated GIF of a guy with a shovel, I would put it here.</p>
54 <div style="clear:both;"></div>
57 Copyright © 2011 Andy Spencer
58 <% for (int i = 0; footer[i].link; i++) { %>
59 | <% print_nav(&footer[i], page); %>
66 <% /* Normal Pages */ %>
67 <% void print_about(void) { %>
69 AWeather is a free/open source application which has been
70 designed to integrate and visualize high-quality meteorological
71 data using an interactive Virtual Globe interface suitable for
72 a wide range of users including weather enthusiasts, academics,
75 It is designed to provide more information than is typically
76 available from weather widgets and simple desktop applications.
77 At the same time, it strives to be simpler and easier to use
78 than existing meteorological software packages such as GEMPAK
81 Currently AWeather only displays data provided by the United
82 States National Weather Service.
90 <li>High quality data sources<ul>
91 <li>Level-II archives</li>
92 <li>Conus NEXRAD imagery</li>
93 <li>Volume display of dBZ iso surfaces</li>
94 <li>Storm based and county based<br/>
95 warning/watch/advisory displays</li>
97 <li>Virtual Globe base rendering<ul>
98 <li>Including terrain, satellite, and map imagery</li>
100 <li>Real-time and offline mode</li>
101 <li>Auto-updating</li>
102 <li>Fullscreen mode</li>
108 <li>Additional data sources<ul>
109 <li>Watch/warning/advisory boxes</li>
110 <li>Surface data (temp., humidity, etc)</li>
112 <li>Derived NEXRAD data<ul>
113 <li>Storm relative motion</li>
114 <li>Compost reflective</li>
117 <li>Vertical cross sections</li>
122 <div style="clear:both;"></div>
124 <p>AWeather is free software licensed under the terms of the
125 <a href="http://www.gnu.org/licenses/gpl.html">GNU GPL</a>.
126 As such, it can be used by any individuals or organizations
127 without any license fees or royalties.</p>
130 <% void print_news(void) { %>
131 <!-- It's not really spring anymore :/ -->
132 <!-- <p class="quote">Now that it's spring again, progress on AWeather is continuing.</p> -->
136 AWeather 0.6 released: <ul>
137 <li>Added "Alerts" plugin using the
138 <a href="http://alerts.weather.gov/">NWS CAP</a> feed</li>
139 <li>Updated GTK+ libraries for Windows</li>
140 <li>Behind the scenes, mouse support in Grits
141 has been much improved</li>
143 This release was a little bit faster than previous releases.
144 Hopefully additional improvements to the alerts plugin
145 can be made incrementally during the 0.x.x releases.
150 AWeather 0.5.2 released: <ul>
151 <li>Added new desktop icons</li>
152 <li>Miscellaneous bug fixes</li>
154 Improved organization of the <a href="<%= WIKI_INDEX %>">Wiki</a>
159 AWeather 0.5.1 released: <ul>
160 <li>Bugfix release</li>
161 <li>Updated sat/map/elev to provide better data</li>
162 <li>First release with <a href="<%= DEBIAN_HOME %>">Debian</a>,
163 and <a href="<%= UBUNTU_HOME %>">Ubuntu</a> packages</li>
169 AWeather 0.5 released: <ul>
170 <li>Support for volume rendering (isosurfaces)</li>
171 <li>Automatic updating</li>
172 <li>Fullscreen mode</li>
173 <li>Dropped GtkGLExt</li>
176 <li>Added additional radars</li>
177 <li>Fixed lots of bugs</li>
178 <li>General code cleanup</li>
179 <li>Available from <a href="files/">files</a> directory
180 and <a href="<%= GW_RSL %>">git</a></li>
182 <b>Update:</b> AWeather 0.5 is also compatible with the
183 newly released RSL v1.41
187 <dd>Started work on this new website. Lots of progress in AWeather as well:<ul>
188 <li>Merged support for isosurfaces to the main branch (Finally!)</li>
189 <li>Added an option to automatically refresh after a timeout</li>
190 <li>New fullscreen mode</li>
193 <p class="note">See also: <a href="oldnews">Older news</a>,
194 <a href="<%= GW_AWEATHER %>">gitweb</a></p>
197 <% void print_oldnews(void) { %>
198 < <a href="news">News</a>
201 <dd>AWeather 0.4.1:<ul>
202 <li>Win32 fixes and improved debug support</li>
203 <li>Fix bug with daylight savings time</li>
204 <li>Function to clear old cache entries</li>
208 <dd>AWeather 0.4:<ul>
209 <li>Conus radar images</li>
210 <li>Multiple radars support</li>
211 <li>Gentoo, Ubuntu, MS Windows and source packages are available</li>
215 <dd>AWeather 0.3.0 released, based on libgis but still rather
219 <dd>AWeather 0.2.3 (maintenance release).<br/>
220 Added a Application menu entry and a few build/runtime fixes.</dd>
223 <dd>The source repository has been migrated to Git. A lot of
224 progress is being made on libgis, which is now able to display
225 a virtual globe using data from NASA servers.</dd>
229 <% void print_screenshots(void) { %>
231 AWeather provides a consistent user interface that allows the
232 user to zoom in from a high level view of the entire Earth down
233 to regional and mesoscale views.
238 <% print_screen("synop"); %>
239 High level view using Grits
242 <% print_screen("region"); %>
243 Regional view over the midwest
246 <% print_screen("meso"); %>
247 Mesoscale view of a tornadic system
250 <% print_screen("iso"); %>
251 Close up showing a 52.5 dBZ isosurface
254 <% print_screen("alert"); %>
255 Current severe weather alerts for the CONUS
260 <% void print_download(void) { %>
261 <h2>Stable releases</h2>
263 While AWeather won't be considered stable until version 1.0,
264 these are as close to stable as you can get until then
267 <li class="linux"><dl class="inline">
270 <a href="files/aweather-<%= VERSION %>.tar.gz">aweather-<%= VERSION %>.tar.gz</a>,
271 <a href="../grits/grits-<%= VERSION %>.tar.gz">grits-<%= VERSION %>.tar.gz</a>,
272 <a href="files/rsl-1.40.tar.gz">rsl-1.40.tar.gz</a>
276 <dd><span class="code">emerge sci-geosciences/aweather</span> from the sunrise overlay</dd>
279 <dd><span class="code">apt-get install aweather</span> from Debian sid</dd>
282 <dd><span class="code">apt-get install aweather</span> from Ubuntu Oneiric</dd>
284 (Arch packages still have bugs)
286 <dd>Available from the AUR</dd>
289 <li class="windows"><dl class="inline">
291 <dd><a href="files/aweather-<%= VERSION_WIN32 %>-gtk.exe">aweather-<%= VERSION_WIN32 %>-gtk.exe</a>
292 (Use this unless you know what you're doing)</dd>
295 <dd><a href="files/aweather-<%= VERSION_WIN32 %>.exe">aweather-<%= VERSION_WIN32 %>.exe</a></dd>
297 <li class="macos" style="padding-top: .8em; padding-bottom: .8em"><dl class="inline">
299 <dd>Coming soon (Mac OS developer? <a href="/code/issues/1">Help out</a>)</dd>
303 <h2>Unstable releases</h2>
304 <p class="note">Pre-releases, betas, and other hazardous software</p>
305 <div style="margin-left: 30px;">
306 <p>Check out the <a href="files">files</a> directory for any potential updates</p>
307 <p>Pre-releases are labeled with a -p0 and are mainly built for testing the Windows packages</p>
310 <h2>Development code</h2>
312 Development code is available from Git
314 <a href="<%= GW_AWEATHER %>">AWeather</a>,
315 <a href="<%= GW_GRITS %>">Grits</a>,
316 <a href="<%= GW_RSL %>">RSL</a>)
318 <div style="margin-left: 30px;">
319 <div class="code">git clone <%= GIT_AWEATHER %></div>
320 <div class="code">git clone <%= GIT_GRITS %></div>
321 <div class="code">git clone <%= GIT_RSL %></div>
325 <% void print_development(void) { %>
326 <!-- Open source mumbo jumbo.. -->
328 <p class="note" style="clear: both;">
329 The AWeather <a href="<%= WIKI_INDEX %>">development wiki</a>
330 is the main resource for development material.
333 <h2>Bug report and feature requests</h2>
334 <div style="margin-left: 30px;">
335 <p><a href="<%= BUG_LIST %>">List of current issues</a></p>
336 <p><a href="<%= BUG_NEW %>">Add a new issue</a></p>
339 <h2>How to contribute?</h2>
341 <li>Locate or host Meteorological and Geospatial data feeds</li>
342 <li>Maintain a Mac OS, Windows, or Linux installer</li>
343 <li>Test AWeather and submit bug reports</li>
344 <li>Make better logo!</li>
347 <h2>Architecture Overview</h2>
349 <li>Built on top of GObject and GTK+</li>
350 <li>Uses the <a href="grits">Grits</a> "Virtual Globe" library<ul>
351 <li>Handles most of the graphics work using OpenGL for rendering</li>
352 <li>Provides some other generic functionality, such as data access</li>
353 <li>Also provides the plugins API used by AWeather</li>
355 <li>AWeather itself is a front-end for Grits along with a
356 bundle of weather related plugins</li>
359 <h2>Building AWeather</h2>
360 <p class="note">See the <a href="<%= WIKI_INSTALL %>">install</a>
361 wiki page for more details</p>
363 <li>AWeather has direct dependencies on Grits, RSL, among other things</li>
364 <li>Currently building and running AWeather requires the
365 exact same version of Grits to be installed<br />
366 (This may change in the near future as the software stabilizes)</li>
370 <% void print_grits(void) { %>
372 Grits is a Virtual Globe library developed along side AWeather,
373 but desigend to be usable by other program as well.
375 It is differentiated from other Virtual Globes such as Google
376 Earth, NASA World Wind, and KDE Marble in that it is developed
377 primairily as a library that is used by other programs, such as
378 AWeather, rather than providing it's own user interface.
383 <% print_screen("grits"); %>
384 Grits without any plugins
388 <% print_screen("plugins"); %>
389 Satellite and Environment plugins
392 <% print_screen("terrain"); %>
393 Elevation plugin showing a mountain
398 <% void print_rsl(void) { %>
399 <h2>Radar Software Library</h2>
400 AWeather has at times needed a custom version of the
401 <a href="<%= RSL_WEB %>">TRMM Radar Software Library</a>
402 for accessing Level-II radar files. However, most of the changes have
403 since been incorporated into RSL Version 1.41, which can also be used
404 with AWeather. Some remaining changes exist though and are mostly
405 related to code organization and compiler warnings.
409 <h3>NASA/TRMM version</h3>
411 <li><a href="<%= RSL_WEB %>">TRMM RSL Website</a></li>
412 <li><a href="<%= RSL_FTP RSL_TAR %>"><%= RSL_TAR %></a></li>
416 <h3>AWeather's version</h3>
418 <li><a href="files/rsl-1.40.tar.gz">rsl-1.40.tar.gz</a></li>
419 <li><a href="<%= GW_RSL %>">Gitweb</a></li>
420 <li><div class="code">git clone <%= GIT_RSL %></div></li>
425 <% /* Footer Pages */ %>
426 <% void print_contact(void) { %>
428 <p class="note">Questions? Comments? Trouble compiling AWeather?</p>
429 <dl class="inline small">
430 <dt>Bugs</dt> <dd><a href="<%= BUG_LIST %>">Issue Tracker</a> (sign in to add a new issue)</dd>
431 <dt>Email</dt><dd><a href="mailto:andy753421@gmail.com">Andy Spencer</a></dd>
432 <dt>IRC</dt> <dd>#rhlug@irc.freenode.net</dd>
436 <% /* Special Pages */ %>
437 <% void print_index(void) { %>
439 AWeather is a free real-time weather data viewer designed for weather enthusiasts.
440 AWeather is not a weather widget/dockapp that displays a pre-computed forecast.
441 It is designed to be an easy to use program that integrates a
442 variety of meteorological data in simple unified interface;
443 see the <a href="about">about</a> page for more details.
446 <ul style="float: left;">
447 <li>Detailed Level-II NEXRAD radar<ul>
448 <li>3D volume rendering</li>
449 <li>Dual-pole support</li>
451 <li>Online and offline modes<ul>
452 <li>Data caching</li>
453 <li>Automatic updating</li>
455 <li>Warning/Watch/Advisory display</li>
456 <li>Surface and map overlays</li>
457 <li>Terrain rendering</li>
459 <div style="float: left; margin-left: 20px;">
460 <% print_screen("stormbased"); %>
461 <div style="text-align: center; margin-right: 25px;">
462 AWeather showing storm based warnings<br />
463 on top of Level-II radar imagery
466 <a href="download" class="download" style="float: right;">
467 <span>Download</span>
468 <span>AWeather <%= VERSION %></span>
469 <img src="images/dl-arrow.png" alt="Download" />
471 <p style="text-align: center;"><%= VERSION_DESC %></p>
474 <% void print_notfound(void) { %>
475 <h1>Error 404 - Page Not found!</h1>
477 <p>This page does not exist!
478 <p>If Andy screwed up, feel free to <a href="contact">tell him</a>,
479 otherwise, go away</p>
482 <% void print_sitemap(const page_t **pages) { %>
483 <?xml version='1.0' encoding='UTF-8'?>
484 <urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
485 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
486 xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9
487 http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd">
488 <% for (int i = 0; pages[i]; i++) { %>
489 <% for (int j = 0; pages[i][j].link; j++) { %>
490 <% if (pages[i][j].prio >= 0) { %>
492 <loc><%% "%s%s", PREFIX, pages[i][j].link %></loc>
493 <priority><%% "%3.1f", pages[i][j].prio %></priority>