Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Python library to access sensor data from LoCal's Sensor DB
Python C Matlab Shell
Branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.


SensorDB is a collection of programs for easily accessing and working
with sensor data collected from Buildings.

Software Dependancies:
         Python 2.6 (
         Matplotlib (
         Scientific Python (
         NumPy (

Optional Software Dependancies:
         LibSVM (for classification)
         FastCluster (an optimized clustering library. If not
         available will fallback on SciPy's clustering libraries)

Additionally, I would also very highly recommend the IPython shell
( to which makes interactively playing with
large data sets a breeze.

As you might have noticed the libraries are written in
Python. Currently there are 2 data sets:
        a. SCADA Sensor data collected from Soda Hall
        for the period from Nov 2008 -- May 2011.
        b. SMap Sensor feeds ( collected
        from various sensors deployed across Cory Hall and the CITRIS

The library has 2 data adapters TSDBTrace and FileTrace. The TSDBTrace
adapter connects directly to the LoCal Sensor DB and retrieves data
over the network. The FileTrace adapter on the other hand is optimized
to retrieve data lazily from trace files on disk.

The TSDB database is hosted on cluster running Hadoop's HDFS and uses
the super awesome HBase columnar storage and the OpenTSDB middleware
to store the sensor time series data.

        Prashanth Mohan (
        David Culler (
Something went wrong with that request. Please try again.