Shower Filter Code - Oct. 30
I updated the CheckHealth function to include an option to not write
health files.
The entire Chiquita array was operational during the period
between August 2003 and May 2004.
Good showers, Aug 2003 - May 2004
Unfiltered text file of good showers
Filtered text file of good showers
Code used for getting a text file of "good" showers from the the
complete list of shower data:
- uptime.cc - Finds time periods when all CIT
sites were healthy. Output:
- totaluptime.pl - Finds the total time during
the selected period that all CIT sites were healthy. (Prints to screen.)
- getshowers.pl - Gets list of showers from
web page and makes a text file of times. Output:
- goodshowers.pl - Compares the output of
getshowers.pl to the output of uptime.cc to make a list of showers that
happened when all sites were online. Output:
These are concatenated into allgoodshowers.txt.
- makelinks.pl - Takes the output of
goodshowers.pl and makes an html file of links to the good showers
as well as a text file to feed to the following shell script. Output:
- doit.sh - Runs get.sh on all the
search URLs in links.txt. (Call with "bash doit.sh links.txt".)
- get.sh - Runs wget on a search URL and passes the output to strip.pl and then to output.txt
- strip.pl - Strips html formatting from the page
returned by the search URL
- filtershowers.pl - Takes a text file
of shower data (output.txt) and removes accidentals
(defined to be non-chiquita sites, sites hit more than 10 microseconds
away from the trigger, and afterpulses arriving more than 1 microsecond
after the first hit at a site). Output: filtered.txt.
(Had to fix a bug in makelinks3.pl, which was skipping showers due to
problems with daylight savings time.)
Of 18388 showers, 16075 are still showers after having all non-chiquita sites and accidentals
removed. Of those, 14576 pass a cut on theta <= 45 degrees.