taskGNU Astronomy Utilities - Tasks: task #15821, Option to copy full header...

 
 

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

task #15821: Option to copy full header keywords from input into output

Submitter:  Mohammad Akhlaghi <makhlaghi>
Submitted:  Wed 25 Nov 2020 10:48:12 PM UTC
   
 
Should Start On:  Wed 25 Nov 2020 12:00:00 AM UTC Should be Finished on:  Wed 25 Nov 2020 12:00:00 AM UTC
Category:  Fits Priority:  5 - Normal
Item Group:  Enhancement Status:  None
Privacy:  Public Assigned to:  None
Percent Complete:  0% Open/Closed:  Open
Effort:  0.00

Discussion

Wed 25 Nov 2020 10:48:12 PM UTC, original submission:  

Currently there is no easy way in the Fits program to identically copy multiple keywords from one FITS file/HDU into another file/HDU.

There was a simple example with '--asis' for copying one keyword. But not many. So in Commit d5542488 I just added an example to use '--asis' for many keys.

Further more, I just added an implementation of that example in copy-keys.sh (in my Useful scripts project, for things I haven't yet had time to implement in Gnuastro!).

But this is much easier/faster done inside the FITS program. With this task, I am proposing to add an option like '--keytoout' for this job that is called like below. In that command, the 'KEYA' and 'KEYB' of 'input.fits' will be copied directly into the 'out.fits' (HDU 1).


astfits input.fits --keytoout=KEYA,KEYB --output=out.fits --outhdu=1


Mohammad Akhlaghi <makhlaghi>
Group administrator

 

Attached Files

This item currently has no attached files.

 

Dependencies

This item does not depend on any other items.

No items depend on this one.

 

Mail Notification Carbon-Copy List

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

    Votes

    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.

     

    History

    No changes have been made to this item

    Back to the top

    Powered by Savane 3.16-a7ba.
    Corresponding source code