draft at test, not yet run, not yet correct

this is a bit of an integrated test.  also need to test each part of the
sequence of actions, as noted in the fixme in lib/reduce.js

modified:   lib/reduce.js
modified:   test/test_limited_hpms.js
initial commit

a repo for my code for merging detector and hpms gridded data into
higher level areas

going to use grunt, if I can
added readme
add sql scratch file to repo
split out pq query, first basic test is passing

added all the bits, now need to refactor
 modified:   app.js

added hpms query, not yet handling detector query
 new file:   lib/query_postgres.js

require pg
 modified:   package.json

more scratch work for sql
 modified:   sql/scratch.sql

test, passing...just gets the query as epected.  Not really a test of
the content yet, just makes sure I am getting 5 rows, as I should
 new file:   test/test_query_postgres.js
fix select to get f system.  expanded test a bit

modified:   lib/query_postgres.js
modified:   test/test_query_postgres.js
added psql to get detector freeways.  test passes

add query for detector route numbers
modified:   lib/query_postgres.js
modified:   sql/scratch.sql
added test for detector route number function.  passes
modified:   test/test_query_postgres.js
panicky commit as my laptop goes nuts
what I need to do, in order
making tests.  saving due to battery drain on laptop
Merge branch 'master' of 69.17.97.100:/home/james/repos/temp_jem/calvad/grid_merge
working to do something useful, suck on couchdb junk

modified:   .gitignore
deleted:    config.json
modified:   lib/config_okay.js
modified:   lib/couchdb_interactions.js
modified:   package.json
renamed:    test/test_filter_grids.js -> test/test_couchdb_interactions.js
can set as done, filter out with true/false

modified:   lib/couchdb_interactions.js
deleted:    lib/filter_grids.js
modified:   test/test_couchdb_interactions.js
working on testing the couch grab

pulled down some sample data for test databases

modified:   app.js
modified:   lib/couchdb_interactions.js
new file:   test/files/100_223_2008_JAN.json
new file:   test/files/178_97_2008_JAN.json
new file:   test/files/189_72_2008_JAN.json
modified:   test/test_couchdb_interactions.js
start at a reduce file

do the work of merging and collating results
change how options are passed to psql code

now options.postgres, to mirror options.couchdb
working on reduce, tesing reduce

wrote code to merge two sql queries.  working on testing it
initial reduce code test passes

changed to using config file for postgres queries; test passes

reduce code test passes (does hpms and detector query, unified task is
passed as reference, and does get modified, result is the expected
output)
update tests, fix sql query code

sql query now gets numerical results, not strings.  la dee da

test passing
fix issue with cell convert to NaN

do not convert to numeric if key='cell'