|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
[fitsbits] Fits recognition
Hi to all,
how to know programmatically if a fit/fits extension file is a true fit file? Thanks, Emiliano |
#2
|
|||
|
|||
[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 | |
|
|
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 |