From 3cecfd960b67ea89ac598e5fc9a91bbbc6f02ea1 Mon Sep 17 00:00:00 2001 From: d3v-null Date: Thu, 28 Nov 2024 10:07:14 +0000 Subject: [PATCH] cal check fitsheader for corrupt files --- demo/06_cal.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/demo/06_cal.sh b/demo/06_cal.sh index 9384462..d9811bf 100755 --- a/demo/06_cal.sh +++ b/demo/06_cal.sh @@ -26,6 +26,11 @@ fi # - birli adds a channel suffix when processing observations with non-contiguous coarse channels. # - if the files we need are missing, then run 05_prep. export prep_uvfits_pattern=${outdir}/${obsid}/prep/birli_${obsid}\*.uvfits +for f in $(ls -1 $prep_uvfits_pattern); do + set -x + fitsheader $f + echo $? +done if ! eval ls -1 $prep_uvfits_pattern >/dev/null; then echo "prep_uvfits $prep_uvfits_pattern does not exist. trying 05_prep.sh" $SCRIPT_BASE/05_prep.sh