]> Pileus Git - aweather/commit
Add warning/watch/alert plugin alert
authorAndy Spencer <andy753421@gmail.com>
Mon, 24 Jan 2011 04:53:27 +0000 (04:53 +0000)
committerAndy Spencer <andy753421@gmail.com>
Mon, 24 Jan 2011 05:12:47 +0000 (05:12 +0000)
commit2abc460f4ff4848f908e022103ec7f71aaa2ecba
tree9e06d065684190c38adf44edd9f51d3421e28a54
parent7d1ba2779e584e8e323400afcb17aa95cbf94e27
Add warning/watch/alert plugin

Note: this is development code and will not run without the following:

- An xml alerts file. The alerts feed [1] has some issues which need to
  be resolved before much more development is done. These include
  missing data (hazard's weather outlook), missing lat-lon polygons (for
  SVR/TOR warnings), unknown sorting order, and inconsistent use of fips
  and NWS warning area codes.

- A fips polygons file. The original was found as a link from the CAP
  cookbook/wiki [2]. However, this contained a convex hull of each
  county, which is not entirely useful. Andy Spencer created two more
  which are hopefully a little more useful but contain a larger number
  of points and require tessellation to use [3].

[1] http://www.weather.gov/alerts-beta/us.php?x=0
[2] http://www.incident.com/cap/fips_polys.txt
[3] http://andy753421.ath.cx/linked/fips_polys_{simp,full}.txt
src/plugins/Makefile.am
src/plugins/alert-info.c [new file with mode: 0644]
src/plugins/alert-info.h [new file with mode: 0644]
src/plugins/alert.c [new file with mode: 0644]
src/plugins/alert.h [new file with mode: 0644]