taskGNU Astronomy Utilities - Tasks: task #16123, Reassigned to another tracker...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

task #16123: Reassigned to another tracker [was: masking negative pixels incorrectly for huge values (larger than int16)]

Submitter:  Pedram Ashofteh-Ardakani <pedram>
Submitted:  Wed 16 Feb 2022 08:11:06 AM UTC
   
 
Should Start On:  Wed 16 Feb 2022 12:00:00 AM UTC Should be Finished on:  Wed 16 Feb 2022 12:00:00 AM UTC
Category:  Arithmetic Priority:  5 - Normal
Item Group:  Output not reasonable Status:  None
Privacy:  Public Assigned to:  None
Percent Complete:  0% Open/Closed:  Closed
Effort:  0.00

Thu 17 Feb 2022 12:14:02 AM UTC, comment #2: 

THIS ITEM WAS REASSIGNED TO BUG #62069


Please, do not post any new comments to this item.

Mohammad Akhlaghi <makhlaghi>
Group administrator
Wed 16 Feb 2022 09:06:50 AM UTC, comment #1: 
  • Version

0.16.150-8837

Pedram Ashofteh-Ardakani <pedram>
Group Member
Wed 16 Feb 2022 08:11:06 AM UTC, original submission:  

THIS ITEM WAS REASSIGNED TO BUG #62069
# steps to reproduce


$ astarithmetic 200 200 2 makenew 5 mknoise-sigma int16 -o test.fits -q
$ aststatistics test.fits --minimum
-21
$ astarithmetic test.fits set-i i i 65535 gt nan where -q -oout.fits
$ aststatistics out.fits --minimum
0


# workaround


$ astarithmetic 200 200 2 makenew 5 mknoise-sigma int16 -o test.fits -q
$ aststatistics test.fits --minimum
-21
$ astarithmetic test.fits set-i i i 65535 int32 gt nan where -q -oout.fits
$ aststatistics out.fits --minimum
-21


# proposed solution

We should check the minimum of the input image. If it contains negative values, then we should let 'arithmetic' know that '65535' --which it looks like is considered to be an unsigned integer-- should be taken as a 'signed integer'.

# acknowledgement

This problem was first reported by Zohreh Ghaffari.

Pedram Ashofteh-Ardakani <pedram>
Group Member

 

(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 pedram (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
    2022-02-17 makhlaghi Reassign ItemGNU Astronomy Utilities, task #16123 GNU Astronomy Utilities, bug #62069

    Back to the top

    Powered by Savane 3.13-4b48.
    Corresponding source code