A Space & astronomy forum. SpaceBanter.com

Go Back   Home » SpaceBanter.com forum » Astronomy and Astrophysics » FITS
Site Map Home Authors List Search Today's Posts Mark Forums Read Web Partners

[fitsbits] Proposed Changes to the FITS Standard



 
 
Thread Tools Display Modes
  #1  
Old August 20th 07, 10:06 AM posted to sci.astro.fits
Thierry Forveille
external usenet poster
 
Posts: 14
Default [fitsbits] Proposed Changes to the FITS Standard

Jonathan McDowell a écrit :
I agree with Thierry that there are many files which have repeated keywords,
but I agree with another poster that there are existing implementations which
assume it's the first instance, not the last instance, which prevails.

All cases I have seen were instances of "updating" the information by
appending a second copy of the keyword an the (then) end of the
header. Some of these might trace back to real time writing on
9-track tapes, when rewinding to update would have been a significant
cost and this was done as an optimisation/compromise (better have
slightly ambiguous information that plainly incorrect one), while
others certainly are just plain laziness/carelessness. It is easier
to write at the end of the header, so I'd expect the latest version
of the keyword to almost always be last in the header. Does anyone on
the list have examples of FITS files where the prefered version (when
that can be determined...) of a duplicated keypword is not the last
occurence?

So I think we should just strongly deprecate (not ban,

Agreed.

and not impose an interpretation).

Depends on what the situation is in the field: if we can conclude
that in 90% of the affected files the prefered version is always
the last occurence (or always the first), I think that recommanding
that choice would be useful. If both endianesses occur with similar
probabilities (or if we cannot conclude), then of course let's
document that behaviour is undefined.


PS: The duplicated keywords I can remember were all for relatively
secondary information (things like DATE-WRITTEN, for instance), which
probably explains why the issue could be ignored for so long.
 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[fitsbits] Proposed Changes to the FITS Standard Rob Seaman FITS 3 August 21st 07 06:43 PM
[fitsbits] Proposed Changes to the FITS Standard Rob Seaman FITS 0 August 20th 07 05:53 AM
[fitsbits] Proposed Changes to the FITS Standard Mark Calabretta FITS 0 August 20th 07 03:17 AM
[fitsbits] Proposed Changes to the FITS Standard Doug Tody FITS 0 August 18th 07 03:42 PM
[fitsbits] Proposed Changes to the FITS Standard Boud Roukema FITS 0 August 18th 07 09:27 AM


All times are GMT +1. The time now is 03:42 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 SpaceBanter.com.
The comments are property of their posters.