bugGNU 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

Wed 16 Oct 2019 11:39:14 AM UTC, original submission:  

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

Roberto Baena Gallé <rbaena>


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by makhlaghi (Updated the item)
  • -email is unavailable- added by rbaena (Submitted the item)

    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 SummaryAn invalid output when cropping a wcs section overlapping different images Crop: problem with floating point errors in resolution with many files

    Back to the top

    Powered by Savane 3.13-8484.
    Corresponding source code