bugGNU Astronomy Utilities - Bugs: bug #49274, Problem in identifying string or...

 
 

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

bug #49274: Problem in identifying string or number

Submitted by:  Mohammad Akhlaghi <makhlaghi>
Submitted on:  Wed 05 Oct 2016 06:01:12 PM UTC  
 
Category: FitsSeverity: 4 - Important
Item Group: Output not reasonableStatus: Fixed
Privacy: PublicAssigned to: Mohammad Akhlaghi <makhlaghi>
Open/Closed: Closed

Wed 05 Oct 2016 06:49:23 PM UTC, comment #2:

This was not actually a problem, because `87095e5' is actually a number not a string! I got this as a short Git commit hash so I was looking at it like a string and didn't notice it can be a number too!

Since this can happen if people want to add commit hashes to the headers of FITS files (to keep track of what parameters created the file), I added a tip to the book explaining the situation and some solutions.

Mohammad Akhlaghi <makhlaghi>
Project AdministratorIn charge of this item.
Wed 05 Oct 2016 06:04:38 PM UTC, comment #1:

Sorry, first command should have been (the keyword's comment was changed):

I made some changes during writing the bug report, but forgot to correc thte first line ;-)!

Mohammad Akhlaghi <makhlaghi>
Project AdministratorIn charge of this item.
Wed 05 Oct 2016 06:01:12 PM UTC, original submission:

When given the following command is run on any FITS file (let's say `img.fits' for this bug report), Header will think the value is a number and so write the FITS keyword value as a number, not a string.

The keyword that is added is:

I am working on it...

Mohammad Akhlaghi <makhlaghi>
Project AdministratorIn charge of this item.

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by makhlaghi (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 05 Oct 2016 06:49:23 PM UTCmakhlaghiStatusConfirmed=>Fixed
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1