From 63770cb442d9b80d7e71021b6f0d65df12958180 Mon Sep 17 00:00:00 2001 From: Aaron LI Date: Mon, 11 Apr 2016 17:45:57 +0800 Subject: scripts/ciao_img_rotcrop.sh: add caveat about dmregrid2 --- scripts/ciao_img_rotcrop.sh | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) 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 "======================================" + -- cgit v1.2.2