≡ Menu

IDL print header to a file

Here is a snippet to grab the headers of fits files and print them into a real format like ascii.

openw, 1, 'Headers/2011.0101.header'
printf, 1, headfits('Raw/hires0101.fits.gz') 
close, 1
{ 0 comments… add one }

Leave a Comment