aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/ciao_img_rotcrop.sh
diff options
context:
space:
mode:
authorAaron LI <aaronly.me@outlook.com>2016-04-11 16:14:32 +0800
committerAaron LI <aaronly.me@outlook.com>2016-04-11 16:14:32 +0800
commit922071f3819cc00a6e7bd784d8644c2778c76f43 (patch)
treeb4f35f8f8aeecb385b77f65b374944112a8b30bd /scripts/ciao_img_rotcrop.sh
parent3ff5b78910c937fcc03310d30c293ea20fe5f7a8 (diff)
downloadchandra-acis-analysis-922071f3819cc00a6e7bd784d8644c2778c76f43.tar.bz2
scripts/ciao_img_rotcrop.sh: fix CCD sizes
Diffstat (limited to 'scripts/ciao_img_rotcrop.sh')
-rwxr-xr-xscripts/ciao_img_rotcrop.sh8
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