comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: adding columns to a binary table in a fits file
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: adding columns to a binary table in a fits file [message #53145] Tue, 27 March 2007 06:18
news.verizon.net is currently offline  news.verizon.net
Messages: 47
Registered: August 2003
Member
On Mar 26, 7:02 pm, adamamil...@gmail.com wrote:
> I'm trying to add new columns to a binary table inside a fits file.
> Right
> now the only way I can see to do this is to rewrite the entire fits
> file.
>

I don't know of an existing way to do this. But I also don't think
that writing a new FITS extension would be much slower than updating
one with a new column.
Adding a new column requires shifting around the bytes in an
extension, and it may be just as quick to start fresh.

If your problem is that you have many extensions and you only want to
update one of them, then I might use COPY_LUN to quickly transfer
bytes from the old FITS file to the new one, for the extensions prior
to, and after the one you are modifying. --Wayne
[Message index]
 
Read Message
Previous Topic: Re: Menu Hierarchy
Next Topic: Re: Help Large_array

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Oct 10 09:00:46 PDT 2025

Total time taken to generate the page: 2.15909 seconds