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

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

 

(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.

     

    No changes have been made to this item

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code