bugGNU Astronomy Utilities - Bugs: bug #63064, Statistics crashes when all pixels...

 
 

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

bug #63064: Statistics crashes when all pixels are nan

Submitter:  Raul Infante-Sainz <infantesainz>
Submitted:  Fri 16 Sep 2022 07:43:47 AM UTC
 
Category:  Statistics Severity:  3 - Normal
Item Group:  Crash Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open

Fri 16 Sep 2022 07:43:47 AM UTC, original submission:  

I am trying to obtain the statistics of an image that all pixels are equal to nan. While this a strange case and the input image is obviously wrong, Statistics should give a consistent result as an output: nan values. Otherwise in a general pipeline where this situations could happen, it crashes. This is actually the current problem I am having with the following error:


aststatistics: img.fits (hdu: 1): all elements are blank
-vebratim-

Maybe a warning to show that all elements are blank/nan is good. That warning could be disabled with the option '--quiet' while keep giving as an output nan values. Does it sound reasonable?



Raul Infante-Sainz <infantesainz>
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 infantesainz (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.

     

     

     

    No changes have been made to this item

    Back to the top

    Powered by Savane 3.11