diff --git a/check.sh b/check.sh index 9d935f89ea2b3ef7fa4004086922a693d839d2fc..0c60838fd2795b3438452ec16b4ceba3f644930b 100644 --- a/check.sh +++ b/check.sh @@ -45,7 +45,7 @@ check_and_copy_files() { if [[ -f $file ]]; then for ((i = 0; i < RUNS_PER_FILE; i++)); do echo "checking file: $file" - cmd="FrCheck -d 1 -i $file" + cmd="FrCheck -i $file" if [[ $VERBOSE == "true" ]]; then echo "Running: $cmd" fi @@ -57,7 +57,7 @@ check_and_copy_files() { checksum_status=$(echo "$output" | grep -q "No read error. File Checksum OK" && echo true || echo false) if [[ $checksum_status == "true" ]]; then - echo "$file: Checksum OK" + echo "$file: Checksum & Structure Checksums OK" # Copy the file to the output directory cp "$file" "$OUTPUT_DIR/" diff --git a/error.log b/error.log new file mode 100644 index 0000000000000000000000000000000000000000..d3461d11f4ed32510406d9e6a559a2e41295ce19 --- /dev/null +++ b/error.log @@ -0,0 +1,25 @@ +/home/harshad.sawant/1256194048/H-H1_GWOSC_O3b_4KHZ_R1-1256718336-4096.gwf: Checksum NOT OK +/home/harshad.sawant/1256194048/H-H1_GWOSC_O3b_4KHZ_R1-1256722432-4096.gwf: Checksum NOT OK +/home/harshad.sawant/1256194048/H-H1_GWOSC_O3b_4KHZ_R1-1256738816-4096.gwf: Checksum NOT OK +/home/harshad.sawant/1256194048/H-H1_GWOSC_O3b_4KHZ_R1-1256742912-4096.gwf: Checksum NOT OK +/home/harshad.sawant/1256194048/H-H1_GWOSC_O3b_4KHZ_R1-1256783872-4096.gwf: Checksum NOT OK +/home/harshad.sawant/1256194048/H-H1_GWOSC_O3b_4KHZ_R1-1256792064-4096.gwf: Checksum NOT OK +/home/harshad.sawant/1256194048/H-H1_GWOSC_O3b_4KHZ_R1-1256808448-4096.gwf: Checksum NOT OK +/home/harshad.sawant/1256194048/H-H1_GWOSC_O3b_4KHZ_R1-1256812544-4096.gwf: Checksum NOT OK +/home/harshad.sawant/1256194048/H-H1_GWOSC_O3b_4KHZ_R1-1256824832-4096.gwf: Checksum NOT OK +/home/harshad.sawant/1256194048/H-H1_GWOSC_O3b_4KHZ_R1-1256828928-4096.gwf: Checksum NOT OK +/home/harshad.sawant/1256194048/H-H1_GWOSC_O3b_4KHZ_R1-1256833024-4096.gwf: Checksum NOT OK +/home/harshad.sawant/1256194048/H-H1_GWOSC_O3b_4KHZ_R1-1256845312-4096.gwf: Checksum NOT OK +/home/harshad.sawant/1256194048/H-H1_GWOSC_O3b_4KHZ_R1-1256878080-4096.gwf: Checksum NOT OK +/home/harshad.sawant/1256194048/H-H1_GWOSC_O3b_4KHZ_R1-1256894464-4096.gwf: Checksum NOT OK +/home/harshad.sawant/1256194048/H-H1_GWOSC_O3b_4KHZ_R1-1256923136-4096.gwf: Checksum NOT OK +/home/harshad.sawant/1256194048/H-H1_GWOSC_O3b_4KHZ_R1-1256951808-4096.gwf: Checksum NOT OK +/home/harshad.sawant/1256194048/H-H1_GWOSC_O3b_4KHZ_R1-1257074688-4096.gwf: Checksum NOT OK +/home/harshad.sawant/1256194048/H-H1_GWOSC_O3b_4KHZ_R1-1257078784-4096.gwf: Checksum NOT OK +/home/harshad.sawant/1256194048/H-H1_GWOSC_O3b_4KHZ_R1-1257107456-4096.gwf: Checksum NOT OK +/home/harshad.sawant/1256194048/H-H1_GWOSC_O3b_4KHZ_R1-1257136128-4096.gwf: Checksum NOT OK +/home/harshad.sawant/1256194048/H-H1_GWOSC_O3b_4KHZ_R1-1257152512-4096.gwf: Checksum NOT OK +/home/harshad.sawant/1256194048/H-H1_GWOSC_O3b_4KHZ_R1-1257205760-4096.gwf: Checksum NOT OK +/home/harshad.sawant/1256194048/H-H1_GWOSC_O3b_4KHZ_R1-1257213952-4096.gwf: Checksum NOT OK +/home/harshad.sawant/1256194048/H-H1_GWOSC_O3b_4KHZ_R1-1257218048-4096.gwf: Checksum NOT OK +/home/harshad.sawant/1256194048/H-H1_GWOSC_O3b_4KHZ_R1-1257238528-4096.gwf: Checksum NOT OK diff --git a/output.json b/output.json new file mode 100644 index 0000000000000000000000000000000000000000..f7922a7c99cf1793aa225c51ab1c4a5c52c21e0d --- /dev/null +++ b/output.json @@ -0,0 +1,63 @@ +{ +"results": [ +{ +"file": "/home/harshad.sawant/1256194048/H-H1_GWOSC_O3b_4KHZ_R1-1256689664-4096.gwf", +"checksum_status": true, +} +} +, +{ +"file": "/home/harshad.sawant/1256194048/H-H1_GWOSC_O3b_4KHZ_R1-1256730624-4096.gwf", +"checksum_status": true, +} +} +, +{ +"file": "/home/harshad.sawant/1256194048/H-H1_GWOSC_O3b_4KHZ_R1-1256747008-4096.gwf", +"checksum_status": true, +} +} +, +{ +"file": "/home/harshad.sawant/1256194048/H-H1_GWOSC_O3b_4KHZ_R1-1256755200-4096.gwf", +"checksum_status": true, +} +} +, +{ +"file": "/home/harshad.sawant/1256194048/H-H1_GWOSC_O3b_4KHZ_R1-1256779776-4096.gwf", +"checksum_status": true, +} +} +, +{ +"file": "/home/harshad.sawant/1256194048/H-H1_GWOSC_O3b_4KHZ_R1-1256882176-4096.gwf", +"checksum_status": true, +} +} +, +{ +"file": "/home/harshad.sawant/1256194048/H-H1_GWOSC_O3b_4KHZ_R1-1256931328-4096.gwf", +"checksum_status": true, +} +} +, +{ +"file": "/home/harshad.sawant/1256194048/H-H1_GWOSC_O3b_4KHZ_R1-1257172992-4096.gwf", +"checksum_status": true, +} +} +, +{ +"file": "/home/harshad.sawant/1256194048/H-H1_GWOSC_O3b_4KHZ_R1-1257226240-4096.gwf", +"checksum_status": true, +} +} +, +{ +"file": "/home/harshad.sawant/1256194048/H-H1_GWOSC_O3b_4KHZ_R1-1257230336-4096.gwf", +"checksum_status": true, +} +} +] +} diff --git a/settings.json b/settings.json index fd56fdde2cff6a4e85c15297c821d7f76aa0c69e..d0efa2c8aad6a93dfb22e0c750fe0793ece12ecb 100644 --- a/settings.json +++ b/settings.json @@ -4,8 +4,8 @@ ], "settings": { "output_directory": "/home/harshad.sawant/", - "output_json_file": "/home/harshad.sawant/output.json", - "error_log_file": "/home/harshad.sawant/error.log", + "output_json_file": "/home/harshad.sawant/gwf_file_checker/output.json", + "error_log_file": "/home/harshad.sawant/gwf_file_checker/error.log", "verbose": true, "runs_per_file": 1 }