File Count Module:
FileCount.py is a simple module which walks through all subdirectories of /RZ/adept/ and counts the number of .sac files. When complete, it writes the number of files to the filecount column of the general table in the database. This provides a measure of progress in downloading and processing data, and is retrieved from the database and shown at the top of the home page.
FileCount.py counts all .sac files, regardless of whether they are in the main event directory or in the event's /ZNE subdirectory. The /ZNE subdirectory is a repository for .sac files which could not be successfully rotated to RTZ orientation.
FileCount.py
is run by a cron job every 15 minutes.