[AstroPy] Re: functional interface for PyFITS?
William Jon McCann
mccannwj at pha.jhu.edu
Tue Mar 22 11:13:53 CST 2005
> Default should be to check if foo.fits is a valid filename, read it
> if it is, otherwise read the second extension of foo.fits.
Goodness, no. What if foo.fits is a valid filename and you wish to
read the second extension of foo.fits. Also, a "valid filename" is
This convention was a terrible idea to start with and it should not be
A better way to go about this might be to define a "fits://" URI scheme.
More information about the AstroPy