On Mar 27, 2014, at 3:16 PM, "Malcolm J. Currie" <[log in to unmask]> wrote:
>> Well spotted. No idea. Makes no sense. Why position 30???
>
> Au contraire. Numerical and logical values are right-justified to Column 30 in FITS. The documentation for Parameter FITS says that if it is true "the initial records of the formatted file are interpreted as a FITS header". "SIMPLE = T" is not a valid FITS header.
It doesn't matter to me how it is specified. I just couldn't find any examples of how the FITS-like header values should be written, so I had to dig it out if the code.
> If you want ASCII2NDF to also support arbitrary keyword=value strings
> to create a FITS extension in your NDF that would be a new facility.
This was just an initial guess about how it might be written. Now that the expected way is known, I'd call it problem solved, other than perhaps augmenting the documentation.
Cheers,
Matt
|