diff options
| author | Mohammad Akhlaghi <mohammad@akhlaghi.org> | 2023-12-09 23:11:40 +0100 |
|---|---|---|
| committer | Mohammad Akhlaghi <mohammad@akhlaghi.org> | 2023-12-09 23:11:40 +0100 |
| commit | 5e6d069f76d3de7496ba174be32e22488fe2d111 (patch) | |
| tree | 3297226df67280de5b0479bffb43abbb810da4fa | |
| parent | 08152a7414d4d58d508648b31163e6c02fd0eee4 (diff) | |
| download | gnuastro-5e6d069f7.tar.gz | |
astscript-psf-unite: correctly accounting for --innerhdu
Until now, when '--innerhdu' was used with this script to specify a HDU
other than '--innerhdu=1', the script would not use the user-specified HDU.
With this commit, the source of this problem has been found and fixed. It
was due to the 'astwarp' command where we were not passing the value give
to this option.
This bug was reported by Ignacio Ruiz Cejudo.
This fixes bug #65005.
| -rw-r--r-- | NEWS | 3 | ||||
| -rw-r--r-- | bin/script/psf-unite.sh | 2 | ||||
| -rw-r--r-- | doc/announce-acknowledge.txt | 1 |
3 files changed, 5 insertions, 1 deletions
@@ -142,6 +142,9 @@ See the end of the file for license conditions. Sepideh Eskandarlou. - bug #64952: Table error message for incorrect column name was not complete; reported by Sepideh Eskandarlou. + - bug #65005: astscript-psf-unit not accounting for --innerhdu; reported + by Ignacio Ruiz Cejudo. + diff --git a/bin/script/psf-unite.sh b/bin/script/psf-unite.sh index a321d32..6c5b3ce 100644 --- a/bin/script/psf-unite.sh +++ b/bin/script/psf-unite.sh @@ -472,7 +472,7 @@ xdiff=$(astarithmetic $xcenter float32 $xpsfcenter float32 - --quiet) ydiff=$(astarithmetic $ycenter float32 $ypsfcenter float32 - --quiet) innertranslated=$tmpdir/"$bname_inner"_translated.fits -astwarp $inner --translate=$xdiff,$ydiff \ +astwarp $inner --hdu=$innerhdu --translate=$xdiff,$ydiff \ --output=$innertranslated $quiet diff --git a/doc/announce-acknowledge.txt b/doc/announce-acknowledge.txt index 6ac34ad..1153c23 100644 --- a/doc/announce-acknowledge.txt +++ b/doc/announce-acknowledge.txt @@ -1,5 +1,6 @@ Alphabetically ordered list to acknowledge in the next release. +Ignacio Ruiz Cejudo Sepideh Eskandarlou Teet Kuutma |
