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] fitsverify and "implied" table columns themselves...?



 
 
Thread Tools Display Modes
  #1  
Old August 27th 08, 05:14 PM posted to sci.astro.fits
Mike Nolan
external usenet poster
 
Posts: 4
Default [fitsbits] fitsverify and "implied" table columns themselves...?

We're writing radio data in binary tables, and fitsverify hates them:

133) fitsverify /share/pdata1/pdev/x108.20080826.b0s1g0.
00800.fits

fitsverify 4.13 (CFITSIO V3.090)
--------------------------------


File: /share/pdata1/pdev/x108.20080826.b0s1g0.00800.fits

2 Header-Data Units in this file.

=================== HDU 1: Primary Array ===================

16 header keywords

Null data array; NAXIS = 0

=================== HDU 2: BINARY Table ====================

*** Error: Keyword #29, CTYPE1 is not allowed in the Bin/ASCII table.
*** Error: Keyword #31, CTYPE2 is not allowed in the Bin/ASCII table.
*** Error: Keyword #44, CTYPE2G is not allowed in the Bin/ASCII table.
.... many more similar errors

Some of the WCS parameters are table columns:
COMMENT axis 1 is the frequency axis
TTYPE6 = 'CRVAL1 ' / Center frequency
TFORM6 = '1D ' /
TUNIT6 = 'Hz ' /
TDISP6 = 'D13.5 ' /
TTYPE7 = 'CDELT1 ' / Frequency interval
TFORM7 = '1D ' /
TUNIT7 = 'Hz ' /
TDISP7 = 'D13.5 ' /
TTYPE8 = 'CRPIX1 ' / Pixel of center frequency
TFORM8 = '1D ' /
TUNIT8 = ' ' /
TDISP8 = 'D13.5 ' /

but others are constant, so we're putting them in the table header
per the "Green Bank Convention".
CTYPE1 = 'FREQ ' / Type of coordinate
CUNIT1 = 'Hz ' / Unit of center frequency

These files are massive and written at 80 MB/s, so we really don't want to make them any bigger than they have to be.

Does that really make us bad people? Or have I missed something?

Thanks,

-Mike


--
Mike Nolan +1 787 878 2612x334 Fax: +1 787 878 1861
Arecibo Observatory, HC 3 Box 53995, Arecibo, Puerto Rico 00612 USA
 




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
15 answers to nonsense being spread by "creation science,""intelligent design," and "Expelled" Kickin' Ass and Takin' Names[_1_] Amateur Astronomy 1 April 29th 08 01:29 PM
Live Nude Astronomy - Gone "Postal"? Gone "Ballistic"? How About Going "Supernova"?! Paine Misc 7 April 6th 08 08:38 AM
"Constant failure"; "The greatest equations ever"; "The ComingRevolutions in Particle Physics" Autymn D. C. Astronomy Misc 0 February 20th 08 07:44 AM
"Constant failure"; "The greatest equations ever"; "The Coming Revolutions in Particle Physics" fishfry Astronomy Misc 0 February 13th 08 03:38 AM
The "experts" strike again... :) :) :) "Direct" version of my "open Service Module" on NSF gaetanomarano Policy 0 August 17th 07 02:19 PM


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