|
|
|
Project Hessdalen - Last alarm pictures
|
Here are the last alarm pictures from the field station. This page is
updated whenever a new alarm picture comes from the station. Most of these
pictures are false alarms, which means that a solution is found at once.
Those pictures that need more analysis before a solution might be found
are defined as interesting alarm pictures. This year's interesting alarm
pictures are on page Pictures 2001. Comments about this year's interesting alarm
pictures are on this page.
The computer does not analyze the whole picture from the camera.
The red area in the mask picture
is not being analyzed.
The Hessdalen AMS was stopped on the 7.November 2003 because of failure.
It will be installed after the failure is repaired.
#!/usr/bin/perl
#
# Copyright (c) 1997 Martin Ranang Thorsen
$cells = 120;
$format = '.jpg';
$meta_dir = "/alarmdir";
$thumb_dir = "/alarm_thumbdir";
$html_dir = "/ams".$meta_dir;
$html_thumb_dir = "/ams".$thumb_dir;
$alarm_dir = "/local/hessdalen/html".$html_dir;
$alarm_thumb_dir = "/local/hessdalen/html".$html_thumb_dir;
$tr = " | ";
sub print_http_header {
print "Content-type: text/html\n\n";
}
sub print_html_link {
my $file = @_[0];
my $year, $month, $day, $hour, $minute, $second;
($year, $month, $day, $hour, $minute, $second) = $file =~
/^alarm-(\d{4})(\d{2})(\d{2})(\d{2})(\d{2})(\d{2})$format$/;
print "\n";
print "";
print " ";
print "Alarm $hour:$minute:$second $day.$month.$year";
print "\n";
print " | \n";
}
sub print_html_table {
print "\n$tr\n";
my $i, $file, @files;
opendir(DIR, "$alarm_thumb_dir") || die "Error: opening $alarm_thumb_dir.\n";
@files = reverse(sort(readdir(DIR)));
$i = 0;
foreach $file (@files) {
if(($file =~ /^alarm-\d{14}$\$format/) && ($i < $cells)) {
if(!($i % 4) && $i) {
print "\n$tr\n";
}
print_html_link($file);
$i++;
}
}
closedir(DIR);
print " \n";
}
print_http_header();
print_html_table();
exit(0)
The alarmpicture has a number that tells the time:
The four first numbers are the year.
Then you will find the month, the date, the hour, the minute and the second.
Picture number: 20000101172036 will be:
2000 is the year, 01 is the month, 01 is the date,
17 is the hour, 20 is the minute and 36 is the second.
The picture was taken the 01.January 2000, at 17:20:36. The clock in the picture shows summertime,
which is correct only half of the year. The correct clock is the file-number.
It is the yellow (or the red) part in the picture which is the interesting light.
It is a black-and-white
camera in use. The computer program ( the software) put a color (yellow or red) on the part which
made the software react.
Go to only-text version.
|