aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorAaron LI <aaronly.me@outlook.com>2016-04-11 17:45:57 +0800
committerAaron LI <aaronly.me@outlook.com>2016-04-11 17:45:57 +0800
commit63770cb442d9b80d7e71021b6f0d65df12958180 (patch)
tree44cd8a5684c201b432d43ca032cb32e0488dc447 /scripts
parent8b4e480c7b7a3b3bfb38335b91e96971feef52db (diff)
downloadchandra-acis-analysis-63770cb442d9b80d7e71021b6f0d65df12958180.tar.bz2
scripts/ciao_img_rotcrop.sh: add caveat about dmregrid2
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/ciao_img_rotcrop.sh18
1 files changed, 18 insertions, 0 deletions
diff --git a/scripts/ciao_img_rotcrop.sh b/scripts/ciao_img_rotcrop.sh
index afc218e..21fa12e 100755
--- a/scripts/ciao_img_rotcrop.sh
+++ b/scripts/ciao_img_rotcrop.sh
@@ -11,6 +11,15 @@
# * cropped image size is set to '1010x1010' for ACIS-S, and
# '2060x2060' for ACIS-I
#
+# XXX/CAVEAT:
+# The `dmregrid2' will take account for the *excluded* source regions
+# even after the FITS image creation. Therefore, even if we fill the
+# excluded source regions using `dmfilth', then rotate the FITS image
+# using `dmregrid2', the filled regions are *EXCLUDED* in the rotated
+# image!
+# This problem is due to that `dmregrid2' considers the DSTYP1/DSVAL1, ...
+# keywords/attributes in the FITS header.
+#
#
# Aaron LI
# Created: 2015-08-23
@@ -86,3 +95,12 @@ dmcopy "${TMP_ROT_IMG}[sky=${CROP_REG}]" ${OUTIMG} clobber=yes
# Clean temporary file
rm -f ${TMP_ROT_IMG}
+echo "=============== CAVEAT ==============="
+echo "The 'dmregrid2' will take account for the *excluded* source regions"
+echo "even after the FITS image creation. Therefore, even if we fill the"
+echo "excluded source regions using 'dmfilth', then rotate the FITS image"
+echo "using 'dmregrid2', the filled regions are *EXCLUDED* in the rotated"
+echo "image!"
+echo "*** CHECK THE RESULTS BEFORE PROCEDDING ***"
+echo "======================================"
+