[AstroPy] Executable Script fitsheader

James Dull dull4.ja at gmail.com
Mon Sep 9 18:47:18 EDT 2019


I would like to extract header information from several hundred fits files
and put it into a csv file. I ran across the executable script information
fitsheader that appears to do just that. It works perfectly for a single
file. However, when I follow the online command for that uses a wildcard so
multiple files can be completed in a single pass I get "unrecognized
command"

Something similar happens with the other scripts if I use a wildcard.

I feel I'm missing something simple.

The command I'm using is: fitsheader --table ascii.csv *.fits > keywords.csv

thanks
Jim
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/astropy/attachments/20190909/fc3d985f/attachment.html>


More information about the AstroPy mailing list