============================================================= Fri 08/21/2020 12:00:08.27 - Version: 3.000 - E:\cams2_queue\RunFolder\status_check.bat [".. emp\status" "status_check_LOCAMS.txt"] [status_check.bat:SETUP ".. emp\status" "status_check_LOCAMS.txt"] Please wait... ******* Detecting noisy cameras ************* [CALL status_check.bat:LOOP_LISTFILE] "E:\cams2_queue\RunFolder\status_check_LOCAMS.txt" for /f "usebackq tokens=*" ..a in (`findstr /i "getstatus_" "E:\cams2_queue\RunFolder\status_check_LOCAMS.txt"`) do ( Now download/caching ALL "GetStatus_000900_*.txt" files to "E:\cams2_queue\RunFolder". Now download/caching ALL "GetStatus_000916_*.txt" files to "E:\cams2_queue\RunFolder". Now download/caching ALL "GetStatus_000941_*.txt" files to "E:\cams2_queue\RunFolder". Now download/caching ALL "GetStatus_000957_*.txt" files to "E:\cams2_queue\RunFolder". ) for /f "usebackq tokens=*" ..a in [`findstr /i "getstatus_" "E:\cams2_queue\RunFolder\status_check_LOCAMS.txt"`] do [ for /f "usebackq tokens=*" ..b in (`dir /b /a-d "E:\cams2_queue\RunFolder\GetStatus_000900_*.txt"`) do ( Station: ######### CAMS STATUS FOR STATION: "000900_DC_DiscoveryChannel_" ######################### File: 3.001 Total Detections=1557 GetStatus_000900_DC_DiscoveryChannel_.txt [2020-08-21T10:10:34.555-07:00 2020-08-21T17:10:34.524+00:00 UTC] 000903 Detections=001482/1557 WARNING - CHECK CAMERA NOISE for /f "usebackq tokens=*" ..b in (`dir /b /a-d "E:\cams2_queue\RunFolder\GetStatus_000916_*.txt"`) do ( Station: ######### CAMS STATUS FOR STATION: "000916_MH_MarsHill_" ################################# File: 3.001 Total Detections=1996 GetStatus_000916_MH_MarsHill_.txt [2020-08-21T11:24:18.655-07:00 2020-08-21T18:24:18.624+00:00 UTC] 000931 Detections=001810/1996 WARNING - CHECK CAMERA NOISE for /f "usebackq tokens=*" ..b in (`dir /b /a-d "E:\cams2_queue\RunFolder\GetStatus_000941_*.txt"`) do ( Station: ######### CAMS STATUS FOR STATION: "000941_ER_Prescott" ################################## File: 3.001 Total Detections=133 GetStatus_000941_ER_Prescott.txt [2020-08-21T09:39:22.375-07:00 2020-08-21T16:39:22.328+00:00 UTC] 000942 Detections=000005/133 ***** EXCESSIVE DROPPED FRAMES 1983 dropped 3.48 dropped/min 000947 Detections=000002/133 ***** EXCESSIVE DROPPED FRAMES 1487 dropped 2.61 dropped/min 2020_08_21_000949_02_47_35 000953 000000 25.2 x 30.7 2.794 (arcmin/pix) "CAL file in detect file [] not found in: "e:\Cams2_Board1\CAMS\SubmissionFiles\2020_08_21_000949_02_47_35\FTP"" 000953 "CAL file in detect file [] not found in: "e:\Cams2_Board1\CAMS\SubmissionFiles\2020_08_21_000949_02_47_35\FTP"" 000942 Detections=000005/133 ***** EXCESSIVE DROPPED FRAMES 1983 dropped 3.48 dropped/min 000947 Detections=000002/133 ***** EXCESSIVE DROPPED FRAMES 1487 dropped 2.61 dropped/min 2020_08_21_000949_02_47_35 000953 000000 25.2 x 30.7 2.794 (arcmin/pix) "CAL file in detect file [] not found in: "e:\Cams2_Board1\CAMS\SubmissionFiles\2020_08_21_000949_02_47_35\FTP"" 000953 "CAL file in detect file [] not found in: "e:\Cams2_Board1\CAMS\SubmissionFiles\2020_08_21_000949_02_47_35\FTP"" Total Detections=133 f: CAMS Archive free space 0.697 GiB {B}**** DISK SPACE LOW ***{/B} GetStatus_000941_ER_Prescott.txt for /f "usebackq tokens=*" ..b in (`dir /b /a-d "E:\cams2_queue\RunFolder\GetStatus_000957_*.txt"`) do ( File: 3.001 Total Detections=212 GetStatus_000957_MC_Meteor_Crater.txt [2020-08-21T09:01:07.525-07:00 2020-08-21T16:01:07.478+00:00 UTC] ) [RETURN status_check.bat:LOOP_LISTFILE] [bat_returncode=0] This script examines all the GetStatus report files in the specified directory and reports on anomolies such as: 1. Cameras with excessive detections [indicates noisy camera/s] 2. Cameras with excessive dropped frames 3. Stations with dangerously low disk space 4. Stations that haven't reported in lately 5. Stations with GetStatus reports that haven't been uploaded in 3 or more days. The detections and dropped frames are determined by reading the GetStatus report and examining each camera in the most recent SubmissionFiles session for that CAMS instance. [status_check.bat:DONE] [0] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ If there are issues reported, examine the GetStatus files that have been downloaded for you in the "E:\cams2_queue\RunFolder" directory. "E:\cams2_queue\RunFolder\status_check_to_html.bat" "E:\cams2_queue\RunFolder" "E:\cams2_queue\status_LOCAMS.html" [status_check_to_html.bat:DONE] [0] ["E:\cams2_queue\RunFolder" "E:\cams2_queue\status_LOCAMS.html"] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ The resulting file is: "E:\cams2_queue\status_LOCAMS.html" start "" "E:\cams2_queue\status_LOCAMS.html"