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] Fits recognition



 
 
Thread Tools Display Modes
  #1  
Old August 16th 07, 04:22 PM posted to sci.astro.fits
eggpap
external usenet poster
 
Posts: 1
Default [fitsbits] Fits recognition

Hi to all,

how to know programmatically if a fit/fits extension file is a true fit
file?

Thanks, Emiliano

  #2  
Old August 16th 07, 05:25 PM posted to sci.astro.fits
LC's NoSpam Newsreading account[_2_]
external usenet poster
 
Posts: 23
Default [fitsbits] Fits recognition

On Thu, 16 Aug 2007, eggpap wrote:

how to know programmatically if a fit/fits extension file is a true
fit file?


Do not understand exactly your question :

- if you mean if a FITS extension (extension HDU, other than
primary HDU) can be considered as or extracted into a standalone FITS
file, this is generally not true, some form of minimal primary
header, with no primary array, will be required anyhow

- if you mean that the extraction of the extension HDU with minimal
header massaging instead of adding a minimal primary header, this
is true for IMAGE (or IUEIMAGE) extensions. They can be very easily
turned in standalone FITS files (replacing the XTENSION keyword with
a SIMPLE keyword)

any other kind of extension REQUIRES the presence of a primary HDU
with no data array

- if you mean just testing that a generic FITS file is well formatted,
you'd need to run a verifier program like fverify


--
----------------------------------------------------------------------
is a newsreading account used by more persons to
avoid unwanted spam. Any mail returning to this address will be rejected.
Users can disclose their e-mail address in the article if they wish so.
 




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] fitsbits--sci.astro.fits gateway fully operationalagain Don Wells FITS 0 September 29th 06 05:17 PM
[fitsbits] sci.astro.fits link to FITSBITS is still broken William Pence FITS 0 May 31st 06 07:21 PM
FITS long integer support (was [fitsbits] ADASS FITS BoF onSunday) Eric Greisen FITS 10 October 26th 04 08:14 AM
FITS long integer support (was [fitsbits] ADASS FITS BoFon Sunday) William Pence FITS 6 October 22nd 04 08:23 PM
FITS long integer support (was [fitsbits] ADASS FITS BoF onSunday) Thomas McGlynn FITS 0 October 20th 04 03:18 PM


All times are GMT +1. The time now is 02: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.