🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: sci.astro.fits
Article #73

Re: comment field

#73
From: William Thompson, code 682.1, x2...
Date: Mon, 16 Nov 1992 23:28
25 lines
1618 bytes
In article <1992Nov16.211426.8939@sol.UVic.CA>, durand@dao.nrc.ca writes...
>We are trying to desing special fits ingesters for moving headers content into a 
>database system when we encounter the following case:
> 
>CARD    = 'data 2.5' '  / 10 '
> 
>This card (I just type in the worst case we could imagine) has no comment but how to detect
>that. It seams that each case we have with a single quote following a slash will create an
>ambigous situation. Is there any solution to this?. 
> 
>We have checked within the standard FITS document and haven't found anything which will 
>remove this ambiguity.

Is this a recommended FITS entry?  I would have thought that you wanted either:

CARD    = 'data 2.5''  / 10 '

or

CARD    = 'data 2.5'' ''  / 10 '

Quote characters inside character strings are supposed to be doubled to signal
that the string doesn't end there--that should remove the ambiguity.

Bill Thompson
Technical Details
Message-ID: <16NOV199219280348@stars.gsfc.nasa.gov>
Path: arc1-ca.pugleaf.net!sparky!uunet!wupost!crcnis1.unl.edu!moe.ksu.ksu.edu!zaphod.mps.ohio-state.edu!cs.utexas.edu!sun-barr!ames!nsisrv!stars.gsfc.nasa.gov!thompson
References: <1992Nov16.211426.8939@sol.UVic.CA>

Show Full Headers
Complete Article Headers
Newsgroups: sci.astro.fits
Path: arc1-ca.pugleaf.net!sparky!uunet!wupost!crcnis1.unl.edu!moe.ksu.ksu.edu!zaphod.mps.ohio-state.edu!cs.utexas.edu!sun-barr!ames!nsisrv!stars.gsfc.nasa.gov!thompson
From: thompson@stars.gsfc.nasa.gov (William Thompson, code 682.1, x2040)
Subject: Re: comment field
Message-ID: <16NOV199219280348@stars.gsfc.nasa.gov>
News-Software: VAX/VMS VNEWS 1.4-b1  
Keywords: fits parsind, char strings, comment
Sender: usenet@nsisrv.gsfc.nasa.gov (Usenet)
Nntp-Posting-Host: stars.gsfc.nasa.gov
Organization: NASA/GSFC-Laboratory for Astronomy and Solar Physics
References: <1992Nov16.211426.8939@sol.UVic.CA>
Date: Mon, 16 Nov 1992 23:28:00 GMT
Lines: 25