Permalink
Browse files

Merge branch 'master' of github.com:substack/tsunami-online-mapping-s…

…ystem
  • Loading branch information...
2 parents bbd620b + b9f61d0 commit 57cf029042933a14a3c504740c571eaed2eae12d @substack committed May 11, 2010
Showing with 11 additions and 0 deletions.
  1. +2 −0 backend/control.py
  2. +2 −0 backend/crontab.sh
  3. +2 −0 backend/monitor.py
  4. +2 −0 frontend/bin/ingest.py
  5. +2 −0 frontend/bin/server.py
  6. +1 −0 frontend/bin/shell.py
View
2 backend/control.py
@@ -1,3 +1,5 @@
+# defines the data that can be requested from and sent to the server
+
import simplejson as json
import urllib
View
2 backend/crontab.sh 100755 → 100644
@@ -1,4 +1,6 @@
#!/bin/bash
+# the script run by crontab
+
. $HOME/.profile
module load ncl-5.1.0
python monitor.py
View
2 backend/monitor.py
@@ -1,3 +1,5 @@
+# replacement for monitor.sh
+
from control import *
from queue import Queue
View
2 frontend/bin/ingest.py 100755 → 100644
@@ -1,4 +1,6 @@
#!/usr/bin/env python
+# import environment data from existing system to new database
+
# add lib to search path
import sys, os
if sys.argv[0] == '' : sys.argv[0] = './'
View
2 frontend/bin/server.py 100755 → 100644
@@ -1,4 +1,6 @@
#!/usr/bin/env python2.6
+# serves up the web page and responds to data requests
+
from itty import *
from jinja2 import Environment, Template, FileSystemLoader
View
1 frontend/bin/shell.py 100755 → 100644
@@ -1,4 +1,5 @@
# Execute with: python -i shell.py
+# alternative script for accessing data in the database
import os,sys
# add lib to search path

0 comments on commit 57cf029

Please sign in to comment.