diff options
author | Aaron LI <aaronly.me@outlook.com> | 2016-04-11 16:14:32 +0800 |
---|---|---|
committer | Aaron LI <aaronly.me@outlook.com> | 2016-04-11 16:14:32 +0800 |
commit | 922071f3819cc00a6e7bd784d8644c2778c76f43 (patch) | |
tree | b4f35f8f8aeecb385b77f65b374944112a8b30bd /scripts/ciao_img_rotcrop.sh | |
parent | 3ff5b78910c937fcc03310d30c293ea20fe5f7a8 (diff) | |
download | chandra-acis-analysis-922071f3819cc00a6e7bd784d8644c2778c76f43.tar.bz2 |
scripts/ciao_img_rotcrop.sh: fix CCD sizes
Diffstat (limited to 'scripts/ciao_img_rotcrop.sh')
-rwxr-xr-x | scripts/ciao_img_rotcrop.sh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/scripts/ciao_img_rotcrop.sh b/scripts/ciao_img_rotcrop.sh index 456b35a..afc218e 100755 --- a/scripts/ciao_img_rotcrop.sh +++ b/scripts/ciao_img_rotcrop.sh @@ -63,12 +63,12 @@ punlearn dmkeypar DETNAM=`dmkeypar ${TMP_ROT_IMG} DETNAM echo=yes` if echo "${DETNAM}" | \grep -q 'ACIS-0123'; then printf "## \`DETNAM' (${DETNAM}) has chips 0123 => ACIS-I\n" - WIDTH=${WIDTH_ACIS_S} - HEIGHT=${HEIGHT_ACIS_S} -elif echo "${DETNAM}" | \grep -q 'ACIS-[0-6]*7'; then - printf "## \`DETNAM' (${DETNAM}) has chip 7 => ACIS-S\n" WIDTH=${WIDTH_ACIS_I} HEIGHT=${HEIGHT_ACIS_I} +elif echo "${DETNAM}" | \grep -q 'ACIS-[0-6]*7'; then + printf "## \`DETNAM' (${DETNAM}) has chip 7 => ACIS-S\n" + WIDTH=${WIDTH_ACIS_S} + HEIGHT=${HEIGHT_ACIS_S} else printf "ERROR: unknown detector type: ${DETNAM}\n" exit 11 |