taskGNU Astronomy Utilities - Tasks: task #16521, Unsigned 64-bit columns in FITS...

 
 

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

task #16521: Unsigned 64-bit columns in FITS tables

Submitter:  Mohammad Akhlaghi <makhlaghi>
Submitted:  Thu 21 Mar 2024 04:25:09 PM UTC
   
 
Should Start On:  Wed 20 Mar 2024 11:00:00 PM UTC Should be Finished on:  Wed 20 Mar 2024 11:00:00 PM UTC
Category:  Libraries Priority:  5 - Normal
Item Group:  Enhancement Status:  Postponed
Privacy:  Public Assigned to:  None
Percent Complete:  0% Open/Closed:  Open
Effort:  0.00

Thu 21 Mar 2024 04:25:09 PM UTC, original submission:  

Currently (as of version 0.22), Gnuastro cannot write unsigned 64-bit integer types in a FITS table column. The problem can be reproduced with the example code in the P.S.

During a recent discussion on the fitsbits mailing list, the following solution was suggested: "I have come across TZEROn = 9223372036854775808 to represent unsigned 64-bit integers (SDSS DR15 I think)."

We can implement this within Gnuastro's FITS library table reading/writing features to store unsigned 64-bit integers.

P.S. Reproducing the problem:

$ cat table.txt
# Column 1: ID [counter, u64] ID of object
123

$ asttable table.txt -o table.fits
asttable: gal_fits_type_to_bin_tform: type uint64 not recognized for FITS binary table TFORM


Mohammad Akhlaghi <makhlaghi>
Group administrator

 

(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 (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
    2024-03-21 makhlaghi SummaryUnsigned 64-bit columns in FITS Unsigned 64-bit columns in FITS tables

    Back to the top

    Powered by Savane 3.13-bb6a.
    Corresponding source code