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

Submitted by:  Mohammad Akhlaghi <makhlaghi>
Submitted on:  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 Percent Complete:  0%
Assigned to:  None Open/Closed:  Open
Effort:  0.00

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>
Project Administrator

 

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)
  •  

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

    Only logged-in users can vote.

     

     

     

    No changes have been made to this item

    Back to the top


    Powered by Savane 3.6