Skip to content

Commit

Permalink
Merge branch 'release/2.0b1'
Browse files Browse the repository at this point in the history
  • Loading branch information
jaredwsmith committed Aug 27, 2016
2 parents f1a4249 + 72ac4d6 commit 6d3517d
Show file tree
Hide file tree
Showing 61 changed files with 2,291 additions and 7,195 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ oauth.config.php
conf/*
lib/*
*.swp
vendor/*
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
language: php
php:
- 5.6
install:
- composer install
15 changes: 8 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,22 @@

[![Build Status](https://travis-ci.org/chswx/ldm-ingest.svg?branch=master)](https://travis-ci.org/chswx/ldm-ingest) (test suite in progress, don't read much into this yet!)

A series of scripts to ingest and relay NWS watch/warning/advisory products via Unidata’s LDM. Will eventually expand to forecast and METAR processing as well; baby steps for now, though.
A series of scripts to ingest and store NWS watch/warning/advisory products via Unidata’s LDM. Will eventually expand to forecast and METAR processing as well; baby steps for now, though.

## New in 2.0

All responsibilities for outputting the results of parsing out products from LDM will be placed on the [Alerter](http://github.com/chswx/alerter) going forward. Thus, a lot of what's new in 2.0 has been more code _deletion_ than anything else.
Version 2.0, instead of handling the entire lifecycle of a request from receiving it from LDM to sending it out over Twitter, will just dump everything in a pub-sub-aware database (likely RethinkDB but don't quote me on this just yet) and let other worker processes figure it out. This should improve performance, scalability, and redundancy quite nicely. We store things in JSON; this makes it easy to send the data to virtually anywhere, including directly over a socket into a Web browser. (Wink
wink.)

## What’s done

- VTEC (Valid Time Extent Code) awareness
- Rudimentary Twitter support
- Relays for most common hazardous weather advisories
- JSON output

## What’s in the works

- A variety of bug fixes to VTEC support
- Support for watch probabilities (WWUS40)
- Support for additional output endpoints
- Storm-based warnings via PostGIS polygon queries
- Tornado/flash flood emergency detection
- Impact-based warnings (TORNADO…HAIL…WIND tags)
- Moving to a totally pub/sub architecture
- Awareness of conditions via METAR ingest
Expand Down
13 changes: 13 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"require": {
"danielmewes/php-rql": "^2.2"
},
"autoload": {
"psr-4": {
"UpdraftNetworks\\":"src/",
"UpdraftNetworks\\Ingestor\\Tests\\":"tests/",
"UpdraftNetworks\\Parser\\Tests\\":"tests/",
"":"src/"
}
}
}
72 changes: 72 additions & 0 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

20 changes: 3 additions & 17 deletions conf/chswx.conf.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
* Configuration: holds various interpretations of NWS product text, sets up Tweet text, etc...
*/

//
// Set timezone
//
date_default_timezone_set('UTC');

date_default_timezone_set('America/New_York');
// Use error logging to syslog
ini_set('error_log','syslog');

//
// VTEC phenomena codes.
Expand Down Expand Up @@ -87,17 +87,3 @@
'O' => 'Outlook',
'N' => 'Synopsis'
);

//
// Active zones
//

$active_zones = array(
'SCZ050',
'SCZ052',
'SCZ045',
'SCZ044',
'SCC015',
'SCC019',
'SCC035'
);
Loading

0 comments on commit 6d3517d

Please sign in to comment.