Difference between revisions of "HIP:summer2009"

From Earlham CS Department
Jump to navigation Jump to search
(Documentation)
(Documentation)
Line 144: Line 144:
 
*[[HIP:Mashup | Level 2: How to mash up map and graph (Sanele)]]
 
*[[HIP:Mashup | Level 2: How to mash up map and graph (Sanele)]]
 
*[[Image:MashupExample.jpg]]
 
*[[Image:MashupExample.jpg]]
 +
<pre>
 
"Date","Time","Temp","SpCond","Cond","Resistivity","pH","ORP","Longitude","Latitude"
 
"Date","Time","Temp","SpCond","Cond","Resistivity","pH","ORP","Longitude","Latitude"
 
"M/D/Y","hh:mm:ss","C","uS/cm","uS/cm","Ohm.cm","","mV","DD.dddd","DD.dddd"
 
"M/D/Y","hh:mm:ss","C","uS/cm","uS/cm","Ohm.cm","","mV","DD.dddd","DD.dddd"
Line 157: Line 158:
 
"05/25/09","11:22:24",23.09,617.0,595.0,1680.9,10.41,28,-84.899948,39.848873
 
"05/25/09","11:22:24",23.09,617.0,595.0,1680.9,10.41,28,-84.899948,39.848873
 
"05/25/09","11:22:34",23.01,620.0,596.0,1677.1,10.39,32,-84.900017,39.848980
 
"05/25/09","11:22:34",23.01,620.0,596.0,1677.1,10.39,32,-84.900017,39.848980
 +
</pre>

Revision as of 14:24, 1 June 2009

Back to HIP main page

What's for today? (6/1/2009)

  • Goto springwood lake
  • Documentation
    • How to mash up google earth and gun plot automatically (Sanele)
    • How to install VirtualBox (Mikio)
    • How to use YSI650 at windows xp on Virtual Box in Ubuntu (Mikio)
    • How to process data through sonde to csv (Mikio)
  • List up the solutions from last year
  • Why are the EEAP nodes not recording data in the database?
  • Testing the flow of electric current of pmp4
    • To charge the battery of pmp4
  • To write up infobomb script guide
  • Learn Python and Perl
  • How do I connect to pmp via USB from Baker?

TODO during this summer

  • Testing H2O Unit "End to End"
    • Find out how to use Minicom
    • Test data flow from sonde to database via cell phone.
  • Springwood Install
  • Portable testkit
    • X-ray fluorescence (XRF)
    • Thermal interface compound (TIC)
    • Sonde
    • Netbook
    • Printer
    • GPS
  • Schema + Interface
  • Wind @ miller
  • Learning languages: Perl, Python, Bash

Shopping List

Measurement for portable test kit

  • XRF (INNOV-X ALPHA)
    • Dimensions: 30.5cm * 24.5cm * 8.0cm
    • Weight: 1.6kg
  • TIC (Fluke TiR1 Infrared Thermal Imager)
    • Dimensions: 25.4cm * 12.7cm * 15.2cm
    • Weight: 1.1kg
  • Sonde (YSI 600R)
    • Diameter: 4.2cm
    • Length: 46.5cm
    • Weight: 0.5kg
  • Netbook (Dell Inspiron Mini 9)
    • Dimensions: 23.2cm * 3.17cm * 17.2cm
    • Weight: 1.03kg
  • GPS (MAGELLAN eXplorist100)
    • Dimensions: 5.6cm x 11.9cm x 3.3cm
    • Weight: 0.164kg
  • Printer(?)
  • pelican case

Infobomb Script

Infobomb trac wiki
Web Interface Cacti
Diagram "pmp to infobomb"

pmp side

  • crondtab
# for Cell Phone 
*/15 * * * * /root/scripts/poll_all_sonde.pl; /root/scripts/process_readings-cell.sh;
0 * * * * /root/scripts/transfer-cell.pl
  • autopoll (shell script)
    • Run sonde_data.pl multiple times

stewie side

infobomb@stewie:~$ crontab -u infobomb -l
SHELL=/bin/bash
MAILTO=infobomb
HOME=/home/infobomb
PATH=/sbin:/bin:/usr/sbin:/usr/bin

# m h  dom mon dow   command
*/10 * * * * export PYTHONPATH='/home/infobomb'; 
             export DJANGO_SETTINGS_MODULE=infobomb.settings; 
             /home/infobomb/infobomb/scripts/run_infobomb_dataparser > /dev/null 2>&1
*/30 * * * * export PYTHONPATH='/home/infobomb'; 
             export DJANGO_SETTINGS_MODULE=infobomb.settings; 
             /home/infobomb/infobomb/scripts/extract-n-check-data.pl > /dev/null 2>&1
*/10 * * * * /home/infobomb/eeap/eeap_sync.py >> /home/infobomb/eeap/log.txt

Editing Log

  • stewie.cs.earlham.edu:/home/infobomb/eeap/eeap_sync.py
    • Changed password (Mikio)
  • stewie.cs.earlham.edu:/home/infobomb/infobomb/settings.py
    • Changed password (Mikio)

Note

  • How to log in to infobomb database?
    • $psql -d infobomb -h db.cs.earlham.edu -U infobomb
    • password: ***************

Documentation

"Date","Time","Temp","SpCond","Cond","Resistivity","pH","ORP","Longitude","Latitude"
"M/D/Y","hh:mm:ss","C","uS/cm","uS/cm","Ohm.cm","","mV","DD.dddd","DD.dddd"
"05/25/09","11:20:54",23.13,614.0,592.0,1688.4,8.98,145,-84.899391,39.848564
"05/25/09","11:21:04",23.14,616.0,594.0,1682.3,8.97,24,-84.899391,39.848560
"05/25/09","11:21:14",23.16,618.0,596.0,1677.6,8.92,10,-84.899406,39.848568
"05/25/09","11:21:24",23.23,616.0,596.0,1679.0,9.13,-8,-84.899414,39.848614
"05/25/09","11:21:34",23.30,615.0,595.0,1682.0,9.71,-3,-84.899445,39.848648
"05/25/09","11:21:44",23.31,614.0,594.0,1682.8,10.10,7,-84.899544,39.848686
"05/25/09","11:21:54",23.29,614.0,594.0,1683.5,10.28,14,-84.899628,39.848701
"05/25/09","11:22:04",23.21,615.0,594.0,1684.6,10.37,20,-84.899734,39.848736
"05/25/09","11:22:14",23.14,617.0,595.0,1681.2,10.38,24,-84.899818,39.848812
"05/25/09","11:22:24",23.09,617.0,595.0,1680.9,10.41,28,-84.899948,39.848873
"05/25/09","11:22:34",23.01,620.0,596.0,1677.1,10.39,32,-84.900017,39.848980