taskGNU Astronomy Utilities - Tasks: task #14132, Table output ASCII FITS tables

 
 

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

task #14132: Table output ASCII FITS tables

Submitter:  Mohammad Akhlaghi <makhlaghi>
Submitted:  Thu 25 Aug 2016 12:39:42 PM UTC
   
 
Should Start On:  Wed 24 Aug 2016 03:00:00 PM UTC Should be Finished on:  Wed 24 Aug 2016 03:00:00 PM UTC
Category:  Table Priority:  5 - Normal
Item Group:  Crash Status:  Done
Privacy:  Public Assigned to:  makhlaghi
Percent Complete:  100% Open/Closed:  Closed
Effort:  0.00

Mon 02 Jan 2017 06:26:01 PM UTC, comment #2: 

Thanks to the new root data structure (task #14245) this is now done and pushed to my work on this data structure, FITS ascii tables (like FITS binary tables) can now easily be read and written with various input column types (integers, floating points, and strings).

With that commit, some tests have also been added to read a plain text table file (with all types, blank values, and blank lines, and etc) as both a binary and ascii FITS file and then write them back into a plain text table. Just a note for FITS ASCII: it doesn't conserve the types of the input integers (they will all be read as long).

At least on my system they all work. If you get the chance to try it out, please give it a try with `make check' (note that you have to configure like below, for an explanation, please see the comments in task #14245)


./configure --enable-table --disable-shared CFLAGS="-g -O0"


Mohammad Akhlaghi <makhlaghi>
Group administrator
Thu 25 Aug 2016 12:40:40 PM UTC, comment #1: 

Sorry! I forgot to set the category of this task ;-)! It is now set.

Mohammad Akhlaghi <makhlaghi>
Group administrator
Thu 25 Aug 2016 12:39:42 PM UTC, original submission:  

Currently, Table can't save FITS ASCII tables, if the user asks for saving the FITS output as ASCII tables, they will be told that this feature is not yet implemented. I francly didn't have the need to work with ASCII FITS tables while I was making Table, so since my time is very limited, I left it for later.

It is not too hard to implement, the main complication is that the `TFORMn' keywords of the FITS header have different formats between ASCII and binary tables.

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.

     

    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2017-01-02 makhlaghi StatusPostponed Done
        Percent Complete0% 100%
        Assigned toNone makhlaghi
        Open/ClosedOpen Closed
    2016-08-25 makhlaghi CategoryNone Table

    Back to the top

    Powered by Savane 3.13-bb6a.
    Corresponding source code