Wednesday, November 21, 2007

some small modifications

1. We are temporarily using a fixed number, 7, as the number of states in running daily rdahmm detection;
2. Since "today's" results always contain the results of "yesterday", we only store the results of "today". The program automatically delete "yesterday's" resulting directories after completing "today's" detection;
3. The shrunk picture in the pop-up tabs of google markers are not clear, so we added an automatic selection function to the portlet. When the user clicks a marker, the drop-down list, status change table, and result link table on the right side will automatically switch to the station name corresponding to the clicked marker, so that the user can view the big pictures by clicking the links in the result link table.

Sunday, November 11, 2007

Daily Rdahmm Detection Program

The program for daily detection and plots is now mostly done. This program runs as a stand alone process with a number of threads to run rdahmm on all stations concurrently. The number of threads can be specified as an argument to the program, with a default value of 8. Every thread schedules itself to run at 4:00am everyday, and the "number of states" parameter used for rdahmm is 5.

The program generates the resulting directories and plot images, as well as an xml file that contains both status change information within the last 10 days and the urls for the resulting files. Using this xml file, the portal can now show a list of all stations, and give the result urls for the station whose id is selected.