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

nyphens in TTYPEn



 
 
Thread Tools Display Modes
  #1  
Old April 26th 04, 02:59 PM
LC's No-Spam Newsreading account
external usenet poster
 
Posts: n/a
Default nyphens in TTYPEn

Are there (other than the recommendattion to use "only letters, digits,
and underscore" in 8.3.2. of the FITS standard) any rules or
recommendations which forbid or deprecate or discourage the use of an
hyphen or minus sign in the value of TTYPEn keywords of binary tables ?

A little script of mine is getting screwed up by a FITS file which
contains TTYPEn like O-INDEX or X-DEC, and (beside fmodhead'ing it) I'd
like to complain to the author of such file.

--
----------------------------------------------------------------------
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.

  #2  
Old April 26th 04, 05:45 PM
William Pence
external usenet poster
 
Posts: n/a
Default [fitsbits] nyphens in TTYPEn

LC's No-Spam Newsreading account wrote:
Are there (other than the recommendation to use "only letters, digits,
and underscore" in 8.3.2. of the FITS standard) any rules or
recommendations which forbid or deprecate or discourage the use of an
hyphen or minus sign in the value of TTYPEn keywords of binary tables ?

A little script of mine is getting screwed up by a FITS file which
contains TTYPEn like O-INDEX or X-DEC, and (beside fmodhead'ing it) I'd
like to complain to the author of such file.


The HEASARC has a local convention of using the underscore rather than the
hyphen as a separator character in the TTYPEn column name values in the FITS
files that it produces, however there are some cases where the hyphen is the
obvious choice and is still used (e.g., in columns containing color indices,
such as 'B-V'). This has meant that when using software, such as fv, that
performs spreadsheet-type calculations on table columns it is sometimes
necessary to enclose the column name in quote characters if the name
contains characters that could be confused with mathematical operators.

Bill Pence
--
__________________________________________________ __________________
Dr. William Pence
NASA/GSFC Code 662 HEASARC +1-301-286-4599 (voice)
Greenbelt MD 20771 +1-301-286-1684 (fax)



  #3  
Old April 26th 04, 05:45 PM
William Pence
external usenet poster
 
Posts: n/a
Default [fitsbits] nyphens in TTYPEn

LC's No-Spam Newsreading account wrote:
Are there (other than the recommendation to use "only letters, digits,
and underscore" in 8.3.2. of the FITS standard) any rules or
recommendations which forbid or deprecate or discourage the use of an
hyphen or minus sign in the value of TTYPEn keywords of binary tables ?

A little script of mine is getting screwed up by a FITS file which
contains TTYPEn like O-INDEX or X-DEC, and (beside fmodhead'ing it) I'd
like to complain to the author of such file.


The HEASARC has a local convention of using the underscore rather than the
hyphen as a separator character in the TTYPEn column name values in the FITS
files that it produces, however there are some cases where the hyphen is the
obvious choice and is still used (e.g., in columns containing color indices,
such as 'B-V'). This has meant that when using software, such as fv, that
performs spreadsheet-type calculations on table columns it is sometimes
necessary to enclose the column name in quote characters if the name
contains characters that could be confused with mathematical operators.

Bill Pence
--
__________________________________________________ __________________
Dr. William Pence
NASA/GSFC Code 662 HEASARC +1-301-286-4599 (voice)
Greenbelt MD 20771 +1-301-286-1684 (fax)



 




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


All times are GMT +1. The time now is 10:32 AM.


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.