Adam Boggs [Wed, 8 Feb 2012 06:57:57 +0000 (23:57 -0700)]
Additional code review feedback and minor UI tweaks.
Fixed $(DOTS) capitalization in Makefile. Made some constant names
start with GPS_ for consistency. Fixed more spaces-before-parenthesis
style issues I missed. Removed notebook tab since we only have one
page. Changed UI label font to be bold to match other plugins and
removed frame borders. Changed order so GPS status goes on the right
and is floating with the window size. This solves the issue with the
changing numbers making the other frames move around. Increased number
of track points and track groups to be more reasonable instead of test
values. Removed range ring code for now. Fixed viewer_add sort boolean
per new semantics.
Adam Boggs [Tue, 7 Feb 2012 05:18:32 +0000 (22:18 -0700)]
Incorporate code review feedback and some minor fixes.
Fixed indentation to tabs, use g_assert and guint/gchar/etc. Added car
and arrow icons for the gps marker and fix Makefile.am to install them.
Change gps_state to simply gps. Add gps marker search path so it looks
in "." as well as installed location.
Adam Boggs [Sat, 4 Feb 2012 06:13:03 +0000 (23:13 -0700)]
Add basic GPS track support.
When GPS tracks are enabled a red line is drawn between each point that is tracked. The user can keep multiple tracks on the screen at once, and clear them with a new button. The points array is automatically resized as the number of points in a group grows.
Adam Boggs [Sun, 22 Jan 2012 22:04:09 +0000 (15:04 -0700)]
Update GPSD interface to use new version 5 protocol. Much more stable
but may require a manual compile of gpsd for some users. Tested with
gpsd 3.4, but Ubuntu ships with 2.95. Newer versions seem more stable.
Andy Spencer [Mon, 2 Jan 2012 00:09:08 +0000 (00:09 +0000)]
Fix toolbar hiding bug
On Mac OS, the toolbar is hidden by default because the menus are part
of the OS menu bar. However they were incorrectly re-shown after
toggling fullscreen.
Andy Spencer [Mon, 31 Oct 2011 06:59:22 +0000 (06:59 +0000)]
Add warning/watch/alert plugin
Alert information is shown similar to what is shown on the main
weather.gov page. Alerts are retrieved in real time using the NWS CAP
feed [1] which includes most, but not all, of the information from
weather.gov. More details about the CAP feed can be found on the NWS CAP
Wiki [2].
Both county based warnings and polygon based warnings are support. In
addition, when zoomed in close enough county outlines will be drawn for
each state.
Additional information can be retrieved about a particular alert by
clicking on the highlighted area in the viewer.
Alerts can be hidden by toggling the alert type in the alert plugin's
configuration tab.
If you are developing from Git, you will need to download a FIPS county
polygons file [2]. This should be done automatically on the first build.
If it is not successful, the polygons are also included in the >= 0.6
tarballs.
There are currently several drawbacks to this plugin:
- NWS warning zones are not use, only FIPS counties are used.
- The county polygons have been simplified for performance reasons.
- The NWS CAP feed does not include all the text products showed on
the main weather.gov page. For example, hazardous weather outlooks
are not included. This may be improved slightly by the NWS in future
revision of the CAP feed.
- Historic data is not available but previously downloaded alerts are
cached and can be viewed.
Andy Spencer [Tue, 6 Sep 2011 05:07:35 +0000 (05:07 +0000)]
Add new application icons
The new icon is works better with different background colors, it also
avoids using flat background colors or borders.
The small icons (less than 32) pixels do not includes the sun in the
background because it is difficult to see at such small sizes and just
add clutter.
The old icon is kept as logo.svg and is used in the about dialog. It may
be converted to use the new icon eventually as well.
Andy Spencer [Thu, 9 Jun 2011 07:24:26 +0000 (07:24 +0000)]
Add support for auto-update
Preference and UI changes:
- Add a timeout interval to the preferences dialog, timeout in minutes.
- Add a auto-update toggle in the toolbar and menus.
Auto-update is reset on init, refresh, and when any auto-update related
preferences change.
When auto-update timeout is triggered, the viewer's time is
automatically set to the current time.
Andy Spencer [Tue, 15 Feb 2011 13:07:26 +0000 (13:07 +0000)]
Switch back to only showing one radar at a time
Radars are still loaded automatically but only show the radar in the
foreground tab of the configuration pane. With multiple radars (and
checkboxes) it becomes a hassle to switch between them because it
requires checking one box, unchecking another, and switching the tab.
Also, showing multiple radars didn't really work because of how the
depth test was done.
Andy Spencer [Sun, 13 Feb 2011 11:00:42 +0000 (11:00 +0000)]
Add dual-pole support and improve colormap handling
Add support for dual-pole (KOUN). This should work for the most part.
Some of the dual-pole colormaps are still broken. For KOUN to work, a
recent (unreleased) version of the RSL wsr88d_locations.dat file is
needed.
Use non builtin colormaps. This should make updating colormaps easier.
The colormaps are written in simple flat files, the format is:
- line 1: Parameter name, - Reflectivity
- line 2: Data scale, - 2
- line 3: Data shift, - 31
- line 4: RGBA color data, - 255 207 0 255
- line n: Same as line 4 for however many lines are needed
The scale and shift parameters map the parameter values to a colortable
index. The index is clamped to the number of color data lines.