🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: sci.astro.fits
Article #40

Re: triple precision keywords

#40
From: Barry Schlesinger
Date: Fri, 02 Oct 1992 15:38
31 lines
2412 bytes
In article <1OCT199212490103@stars.gsfc.nasa.gov>, landsman@stars.gsfc.nasa.gov (Wayne Landsman (301)-286-3625) writes...

>    My current IDL FITS reader takes the NOST manual literally.   It
>only extracts the 20 characters in columns 11-30 to determine the FITS
>keyword value.    Any characters in columns 31-50 are interpreted as being
>the imaginary part of a complex number.
> 

This requirement applies only to fixed format.  The fixed format is
required only for values of mandatory keywords.  (At present, there
are no mandatory keywords with floating point values.)  For other
keyword values, it is recommended but not required.  See FITS Paper I,
which says "recommended, and partly required."  This language is
interpreted in 5.3.1 of the NOST standard by saying, "The fixed format
is required for values of mandatory keywords and recommended for all
others."  A well-recognized problem is that columns 11-30 do not
contain enough space to express the full precision of a double
precision floating point number.  The most common, but not standard or
required solution, is to extend the value beyond column 30.  A number
of proposed designs reviewed by the FITS office use this solution.  A
FITS reader that assumes that values of standard optional keywords or
user-defined keywords end in column 30 will not extract correct values
for some user-defined keywords in these data sets. 

Incidentally, EVERYBODY should be certain that their copy of the NOST
Standard is current.  The most recent version is 0.3b.  Some
misunderstandings have arisen because users are referring to 
superseded versions.

				Barry Schlesinger
				NOST FITS Support Office
Technical Details
Message-ID: <2OCT199210382265@nssdca.gsfc.nasa.gov>
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!sdd.hp.com!uakari.primate.wisc.edu!ames!nsisrv!nssdca.gsfc.nasa.gov!bschlesinger
References: <pence.717873310@heawk1> <1OCT199212490103@stars.gsfc.nasa.gov>

Show Full Headers
Complete Article Headers
Newsgroups: sci.astro.fits
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!sdd.hp.com!uakari.primate.wisc.edu!ames!nsisrv!nssdca.gsfc.nasa.gov!bschlesinger
From: bschlesinger@nssdca.gsfc.nasa.gov (Barry Schlesinger)
Subject: Re: triple precision keywords
Message-ID: <2OCT199210382265@nssdca.gsfc.nasa.gov>
Summary: Fixed format is required only for mandatory keywords
News-Software: VAX/VMS VNEWS 1.41    
Keywords: fixed format, double precision  
Sender: usenet@nsisrv.gsfc.nasa.gov (Usenet)
Nntp-Posting-Host: nssdca.gsfc.nasa.gov
Organization: NASA - Goddard Space Flight Center
References: <pence.717873310@heawk1> <1OCT199212490103@stars.gsfc.nasa.gov>
Date: Fri, 2 Oct 1992 15:38:00 GMT
Lines: 33