Squashed commit of the following:

commit ef17d3a2a2b4f79615ad8b6d8a97341b80eb32b3
Author: Casey Bryant <casey.bryant@shomo.com>
Date:   Mon Mar 10 19:58:17 2014 -0700

    Bump submodules

commit 5a6e40192b7d6c3b6a2ea83194dd0642125c08f3
Author: Casey Bryant <casey.bryant@shomo.com>
Date:   Mon Mar 10 12:28:59 2014 -0700

    Added database cleanup after tests complete.

commit b3da47f6b6275aa8006c0cede0d798012e539ee8
Author: Casey Bryant <casey.bryant@shomo.com>
Date:   Tue Mar 4 02:53:32 2014 -0800

    Simplified the search interface, added configuration, and replaced Postgis geography with geometry to improve SELECT intersection precision.

commit d808931269e3895f4b312990b535ae6895a9196a
Merge: c8944cc c8b93e6
Author: Casey Bryant <casey.bryant@shomo.com>
Date:   Tue Mar 4 01:12:22 2014 -0800

    Merge branch 'master' of https://github.com/ooici/coverage-model into HDFtoDB

commit c8b93e6b429186dc04ec6476256d52a914cd6175
Merge: 39382e5 b125663
Author: Jamie Chen <jachen@ucsd.edu>
Date:   Thu Feb 27 09:31:45 2014 -0800

    Merge pull request #147 from ooici/fix

    TEST - Removes broken test from run cycle

commit b125663e42cb589913c4645540ee576f26bb5a00
Author: Luke Campbell <luke.s.campbell@gmail.com>
Date:   Thu Feb 27 12:02:50 2014 -0500

    Removes broken test from run cycle

    The coverage model build doesn't have ion-functions as a dependency
    so it can't import any modules from it. The test will run successfully
    on coi-services though.

commit c8944cc64c9188c330842fc2ad41217bb4aeca49
Author: Casey Bryant <casey.bryant@shomo.com>
Date:   Thu Feb 27 04:36:57 2014 -0800

    First implemention of coverage search,  data retrieval, trimming results to only those observations that match the search criteria.

commit 39382e5dc2738f370ef41bfdfaafd10eaf57b2dc
Merge: 5b9b02f 018b92b
Author: Jamie Chen <jachen@ucsd.edu>
Date:   Wed Feb 19 09:28:45 2014 -0800

    Merge pull request #146 from ooici/import

    OOIION-1755 Adds a reraise on ImportError in pfuncs

commit 018b92bec4491a138359ec74a51647d92d8b5f98
Author: Luke Campbell <luke.s.campbell@gmail.com>
Date:   Wed Feb 19 09:03:25 2014 -0500

    Adds a reraise on ImportError in pfuncs

commit a9579aa2d92b3f6fcd78977c1bede05f5e8a1e13
Merge: 01517b6 0a8d20e
Author: Casey Bryant <casey.bryant@shomo.com>
Date:   Tue Feb 18 15:20:54 2014 -0800

    Merge branch 'HDFtoDB' of https://github.com/caseybryant/coverage-model into HDFtoDB

commit 01517b631ac3b12ed77aa58be1e596596e3fa8e3
Merge: 76263f1 5b9b02f
Author: Casey Bryant <casey.bryant@shomo.com>
Date:   Tue Feb 18 15:20:36 2014 -0800

    Merge branch 'master' of git://github.com/ooici/coverage-model into HDFtoDB

commit 0a8d20e7c754c0208750f6eff916d7e99b48b7a7
Author: Casey Bryant <casey.bryant@shomo.com>
Date:   Tue Feb 18 14:30:55 2014 -0800

    remove Span.py

commit 76263f13b954ebd9e08d3d375dc488ba24315031
Author: Casey Bryant <casey.bryant@shomo.com>
Date:   Tue Feb 18 14:15:08 2014 -0800

    Changed name format to match standards. Include missing file.

commit 5b9b02f1791546324f54681e92f33f7f3be35384
Merge: c05a66c 97106bd
Author: Dave Foster <dave.foster@gmail.com>
Date:   Mon Feb 17 14:48:41 2014 -0500

    Merge pull request #144 from ooici/32bit

    OOIION-1751 Patches CM to be 32-bit system compatible

commit 97106bdd2175ce2f5e24c59dd993e1fd89432324
Author: Luke Campbell <luke.s.campbell@gmail.com>
Date:   Mon Feb 17 12:38:13 2014 -0500

    Removes prints

commit ac380a49031f06f92100462d6b5af1990b42ad9d
Author: Luke Campbell <luke.s.campbell@gmail.com>
Date:   Mon Feb 17 12:35:27 2014 -0500

    Diagnosing 32-bit problems

commit 0acf1275a9b101d06fb59c78b485bed4adc3d43f
Author: Casey Bryant <casey.bryant@shomo.com>
Date:   Sun Feb 16 21:42:10 2014 -0800

    Collect brick span metrics.  Store coverage and span metrics to Postgres.  Implement search interface to find coverages and spans that match queried values.

commit c05a66c68592a5481674676ac604305f0f3e249c
Merge: 5e6225d 4a32ab0
Author: Maurice Manning <maurice.manning@gmail.com>
Date:   Mon Feb 10 16:11:59 2014 -0600

    Merge pull request #142 from ooici/paramtest

    CIDEVSTC-278 - Adds test to verify parameter functions can be added to coverage

commit 5e6225da2c0039245ec164d2815300004c97dd16
Merge: 6821711 e242af7
Author: Maurice Manning <maurice.manning@gmail.com>
Date:   Mon Feb 10 15:40:47 2014 -0600

    Merge pull request #143 from ooici/pfuncs

    CIDEVSTC-278 Adds egg-management to parameter functions

commit e242af785b5c24ee3d0ce7e644440a0d32ca7680
Author: Luke Campbell <luke.s.campbell@gmail.com>
Date:   Mon Feb 10 16:17:40 2014 -0500

    Adds egg-management to parameter functions

commit 4a32ab08a77ce7f9f11110dd485fb1d9060e491a
Author: Luke Campbell <luke.s.campbell@gmail.com>
Date:   Fri Feb 7 10:16:09 2014 -0500

    Adds test to verify parameter functions can be added to coverage

commit 68217118e4f52ac0f7419194741c75dd5ea50d96
Merge: 825359e 37eb586
Author: Jamie Chen <jachen@ucsd.edu>
Date:   Thu Feb 6 13:35:51 2014 -0800

    Merge pull request #140 from ooici/logs

    TEST - Removes superfluous logging

commit 37eb5869d22bb739e0c5567fe3b796d5c5f3e970
Author: Luke Campbell <luke.s.campbell@gmail.com>
Date:   Thu Feb 6 16:31:50 2014 -0500

    Removes superfluous logging

commit 825359e6ffc1de1f7b04652a080924eee340078f
Merge: 1b93a19 bc450ec
Author: Maurice Manning <maurice.manning@gmail.com>
Date:   Thu Feb 6 10:43:35 2014 -0600

    Merge pull request #139 from ooici/pfuncs

    TEST - Adds better utility for generating parameter funcs in cov tests

commit bc450ecc4242f81acae7b67cf9185cedb8ede651
Author: Luke Campbell <luke.s.campbell@gmail.com>
Date:   Thu Feb 6 11:22:10 2014 -0500

    Adds better utility for generating parameter funcs in cov tests

commit 2d78ea2f8a0e5e4409506ab545d5ee6497b5c4e6
Author: Casey Bryant <casey.bryant@shomo.com>
Date:   Thu Feb 6 03:10:02 2014 -0800

    Testing updates

commit 1b93a1939436895191d569450c47c79a8abb8230
Merge: 5c302e8 21dc8b1
Author: Michael Meisinger <mmeisinger@ucsd.edu>
Date:   Thu Jan 30 13:23:56 2014 -0800

    Merge pull request #138 from jamie-cyber1/pin_gevent

    Pin gevent version

commit 21dc8b14d058d3910c253aa87d6cfb948713ef34
Author: Jamie Chen <jachen@ucsd.edu>
Date:   Thu Jan 30 13:14:20 2014 -0800

    Pine gevent version

commit 4fd10df4cfa6876220100633aff955e39627c63c
Author: Casey Bryant <casey.bryant@shomo.com>
Date:   Tue Dec 3 21:55:05 2013 -0800

    Metadata is packed generically with a simple interface for switching between datastores.

commit 397699aba3b54e8c3fa5101f2be4aa0fc991a166
Author: Casey Bryant <casey.bryant@shomo.com>
Date:   Mon Dec 2 16:57:33 2013 -0800

    Worked out bugs in Postgres implementation and performed some code cleanup.

commit 95f720cddbcb7631bee0afeb5da027b29a955ff1
Merge: 510e6dd 5c302e8
Author: Casey Bryant <casey.bryant@shomo.com>
Date:   Tue Nov 26 06:32:59 2013 -0800

    Merge branch 'master' of https://github.com/ooici/coverage-model into HDFtoDB

commit 510e6ddce7340912a5ef8d95442c47ea3bcad022
Author: Casey Bryant <casey.bryant@shomo.com>
Date:   Tue Nov 26 06:31:50 2013 -0800

    Initial implementation of Postgres-backed metadata.

commit 5c302e8ab7d47e2aeef19fb95f290534aa6543cc
Merge: 55e47ce cfd70d2
Author: Jamie Chen <jachen@ucsd.edu>
Date:   Mon Nov 25 11:27:01 2013 -0800

    Merge pull request #135 from ooici/empties

    OOIION-1502 Error handling for empty requests

commit 55e47ce60f66f28185fddaa73eb970b3bb68c368
Merge: 16310e4 856bfd1
Author: Jamie Chen <jachen@ucsd.edu>
Date:   Mon Nov 25 11:26:25 2013 -0800

    Merge pull request #133 from ooici/locking

    OOIION-1497 HDF File Locking Cache

commit cfd70d2d71a7c6b1932189057e2487c33f4e9baa
Author: Luke Campbell <luke.s.campbell@gmail.com>
Date:   Mon Nov 25 13:08:26 2013 -0500

    Error handling for empty requests

    Originally slices where the start equals the stop or the start exceeds the extents then an IndexError
    is raised through the stack resulting in problems reading from the coverage. This commit adds error handling in the
    get_value_dict logic to return empty arrays in these two cases instead of raising an error.

commit 66b0f15d5ff9390ca3a7958ab484b9a2f034601a
Merge: 399088b edaca10
Author: Casey Bryant <casey.bryant@shomo.com>
Date:   Mon Nov 25 08:44:40 2013 -0800

    Merge branch 'hdf2db_testing' of https://github.com/oceanzus/coverage-model into HDFtoDB

commit 399088b8b2cfc53c5d4f0781f35da38980346e42
Author: Casey Bryant <casey.bryant@shomo.com>
Date:   Mon Nov 25 08:44:01 2013 -0800

    Initial release.

commit 856bfd1d32c4997fbdfb9e3b418ae4adc295dc6b
Author: Luke Campbell <luke.s.campbell@gmail.com>
Date:   Mon Nov 25 11:24:52 2013 -0500

    Fixes issue with cached locks and cache invalidation

commit e7b398f1bc4c402808db9d70882d11bcb5a994dc
Author: Luke Campbell <luke.s.campbell@gmail.com>
Date:   Mon Nov 25 11:23:42 2013 -0500

    Adds test to verify cache locks

    Note: this test took forever for me to figure out how to synchronize between multiprocessing and gevent, not fun.

commit edaca1066a4d0014811aeca0cf49c0e163af7f07
Author: James Case <case@oceanz.org>
Date:   Fri Nov 22 22:15:08 2013 -0500

    Adds check for Cassandra to HDF-specific file tests.

commit 7efdd84dc027468e6053f3047ada43207fce5fc6
Author: Casey Bryant <casey.bryant@shomo.com>
Date:   Fri Nov 22 11:06:06 2013 -0800

    Implemented conversion from HDF parameter groups and RTreeProxy to db backed parameter groups and RTreeProxy.

commit 07a3c53b27ba4e035262831538f9c9e144e425c3
Author: Casey Bryant <casey.bryant@shomo.com>
Date:   Thu Nov 21 08:03:38 2013 -0800

    Committing for collaboration with Jim Case.

commit 16310e4b4700e19b48191b58088421e1e81c0103
Merge: b115980 5aff759
Author: Jamie Chen <jachen@ucsd.edu>
Date:   Fri Nov 22 13:34:56 2013 -0800

    Merge pull request #131 from ooici/deepcopy

    Avoids deepcopy for readonly coverages

commit 33509c1ea3dfb1d042e9d7c7d8d3ac59461233d0
Author: Casey Bryant <casey.bryant@shomo.com>
Date:   Fri Nov 22 11:06:06 2013 -0800

    Implemented conversion from HDF parameter groups and RTreeProxy to db backed parameter groups and RTreeProxy.

commit 3b54b0387f514bc78d59760fbb8d134db026c19b
Merge: 22f75f2 b115980
Author: Casey Bryant <casey.bryant@shomo.com>
Date:   Thu Nov 21 08:58:45 2013 -0800

    Merge branch 'master' of https://github.com/caseybryant/coverage-model into HDFtoDB

commit 22f75f2cd12433dee432ee422c37f9cd9e7617f4
Author: Casey Bryant <casey.bryant@shomo.com>
Date:   Thu Nov 21 08:03:38 2013 -0800

    Committing for collaboration with Jim Case.

commit 5aff759e3ce1f643b6c9d6e9dcdac67f67d96372
Author: Luke Campbell <luke.s.campbell@gmail.com>
Date:   Wed Nov 20 14:19:12 2013 -0500

    Avoids deepcopy for readonly coverages

    Huge performance improvement across the board.

commit b115980ae14ee50d2104e8d2d1c09aea07137ea4
Merge: 647ebf2 74c7603
Author: Luke Campbell <luke.s.campbell@gmail.com>
Date:   Tue Nov 19 12:43:28 2013 -0800

    Merge pull request #129 from emilyhahn/tmpsf

    OOIION1381 TMPSF Engineering Fix

commit 74c7603a6fcc4c1677da65e8c55484d51178976c
Author: Emily Hahn <ehahn@bbn.com>
Date:   Tue Nov 19 10:48:18 2013 -0800

    OOIION1381 TMPSF Engineering Fix

commit 647ebf2ed3ab4d9727091fe19f1a9590444c37c4
Merge: ae69500 c6e56c0
Author: Luke Campbell <luke.s.campbell@gmail.com>
Date:   Tue Nov 19 10:33:41 2013 -0800

    Merge pull request #125 from ooici/ooiion-1389

    Fixes file mode for ComplexCoverage.

commit c6e56c09cf57bb51ceabeba0ff89ef498c43cb27
Author: James Case <case@oceanz.org>
Date:   Fri Nov 15 16:34:56 2013 -0500

    Fixes file mode for ComplexCoverage.

    Addresses OOIION-1389.
    Adds INT test to test_complex_coverage.

commit ae6950086a9068c87d12ede510436278105a468d
Merge: 29e9454 d19eead
Author: Jamie Chen <jachen@ucsd.edu>
Date:   Thu Oct 31 10:23:55 2013 -0700

    Merge pull request #123 from lukecampbell/unlocking

    OOIION-1383 Adds forceable unlocking to HDFLockingFile

commit d19eead76c3008dcf832cca7c0eb6ca13c5740d3
Author: Luke Campbell <luke.s.campbell@gmail.com>
Date:   Tue Oct 29 11:17:36 2013 -0400

    Adds filename debug to locking IO exception handling

commit 28feed6475f33fca2278a43da56fc642810ee97a
Author: Luke Campbell <luke.s.campbell@gmail.com>
Date:   Mon Oct 28 10:13:41 2013 -0400

    Adds forceable unlocking to HDFLockingFile

commit 29e9454fc6a6a59cad1348044be2cdd92bfa8558
Merge: 7d94b1b 45ee818
Author: Jamie Chen <jachen@ucsd.edu>
Date:   Fri Oct 11 14:04:40 2013 -0700

    Merge pull request #121 from ooici/domain-slicing

    OOIION-1336 ERDDAP download from coverage fails for CTDPF data agent data product

commit 45ee818a956b91d185964403386cab6f5cd69522
Author: Luke Campbell <luke.s.campbell@gmail.com>
Date:   Fri Oct 11 16:16:16 2013 -0400

    Fixes domain-slicing accross complex coverages

commit 7d94b1b50a35282f9d301a11fee73490906c073e
Merge: b6fa843 f16c7e9
Author: Jamie Chen <jachen@ucsd.edu>
Date:   Thu Oct 10 13:09:10 2013 -0700

    Merge pull request #119 from ooici/submodules

    OOIION-1310 Updates submodules in Coverage Model

commit f16c7e9e3d5861f7c7eeb169df4b6aab5efd0eb8
Author: Luke Campbell <luke.s.campbell@gmail.com>
Date:   Thu Oct 10 15:26:08 2013 -0400

    Updates extern/pyon to latest

    Previous HEAD position was 7f07b7c... New trunk release version
    HEAD is now at 21b071f... Merge pull request #395 from lukecampbell/time_profile

    blah

commit 8a8b6f261cd9879c9425232f500e21ca225b0a3b
Author: Luke Campbell <luke.s.campbell@gmail.com>
Date:   Thu Oct 10 15:23:47 2013 -0400

    Removes unnecessary imports

commit b6fa84335b3696530ffd4d9a065722b1ddfc1d63
Merge: 5b6b8a8 cb9629c
Author: Jamie Chen <jachen@ucsd.edu>
Date:   Thu Oct 10 11:50:43 2013 -0700

    Merge pull request #115 from lukecampbell/slow

    OOIION-1310 Coverage doesn't "natively" support out-of-order data delivery or duplicate data records

commit cb9629cbe3f666d04cd654334af1974f055076ba
Author: Luke Campbell <luke.s.campbell@gmail.com>
Date:   Thu Oct 10 13:36:42 2013 -0400

    Binary Search over HDF5 API is too slow

    So reading Log N times is WAY slower than reading the entire dataset once and
    doing the binary search in memory. The dataset would need to be more than 5
    years long before memory would start being a concern here. Binary search is
    still the best way to identify the indexes which is better than checking every
    single value but downloading the entire array into memory is the tradeoff,
    which was our previous approach. This patch is the fastest combination of both
    approaches.
Merge branch 'HDFtoDB' of https://github.com/caseybryant/coverage-model into HDFtoDB