diff --git a/_downloads/astropy_UVES.tar.gz b/_downloads/astropy_UVES.tar.gz index a7c38b2..16f096f 100644 Binary files a/_downloads/astropy_UVES.tar.gz and b/_downloads/astropy_UVES.tar.gz differ diff --git a/_downloads/update_header.py b/_downloads/update_header.py new file mode 100755 index 0000000..dcb4a64 --- /dev/null +++ b/_downloads/update_header.py @@ -0,0 +1,13 @@ +#!/usr/bin/env python + +from astropy.io import fits +import glob + +filelist = glob.glob('UVES/*') + +for f in filelist: + hdu = fits.open(f, mode='update') + hdu[0].header.rename_keyword('RADECSYS', 'RADESYS') + print(hdu[0].header['RADESYS']) + hdu.flush() + hdu.close()