GNU Astronomy Utilities - Bugs: bug #57063, Crop: problem with floating point...
You are not allowed to post comments on this tracker with your current authentication level.
bug #57063: Crop: problem with floating point errors in resolution with many files
Submitter: | Roberto Baena Gallé <rbaena> | ||
Submitted: | Wed 16 Oct 2019 11:39:14 AM UTC | ||
Category: | Crop | Severity: | 3 - Normal |
Item Group: | Output not reasonable | Status: | None |
Privacy: | Public | Assigned to: | None |
Open/Closed: | Open |
No files currently attached
Depends on the following items: None found
Items that depend on this one: None found
Carbon-Copy List
There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.
Follows 1 latest change.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2019-10-16 | makhlaghi | Summary | An invalid output when cropping a wcs section overlapping different images | Crop: problem with floating point errors in resolution with many files |
Powered by Savane 3.13-3230.
Corresponding source code
The following command:
$> astcrop --mode=wcs --zeroisnotblank --center=149.58,2.36 --width=0.0945 -h1 calexp-HSC-I-9813-?,?-wide-align.fits --output=output.fits
produces this output
/home/rbaena/.local/bin/astcrop: calexp-HSC-I-9813-7,8-wide-align.fits (hdu 1): has resolution of 4.66667e-05 along dimension 1. However, previously checked input(s) had a resolution of 4.66667e-05 in this dimension
Different calexp-HSC images (?,?) have different pixel size resolution in the 15th/16th floating decimal in keyflags CDELT1/CDELT2
Before cropping I align images using astwarp. For example:
$> astwarp --align calexp-HSC-I-9813-3,5-wide.fits --output=calexp-HSC-I-9813-3,5-wide-align.fits