pFad - Phone/Frame/Anonymizer/Declutterfier! Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

URL: http://github.com/python4astronomers/python4astronomers.github.com/pull/3/files

com/assets/primer-primitives-10bf9dd67e3d70bd.css" /> Rename FITS keyword RADECSYS to RADESYS in UVES data by migueldvb · Pull Request #3 · python4astronomers/python4astronomers.github.com · GitHub
Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file modified _downloads/astropy_UVES.tar.gz
Binary file not shown.
13 changes: 13 additions & 0 deletions _downloads/update_header.py
Original file line number Diff line number Diff line change
@@ -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()
pFad - Phonifier reborn

Pfad - The Proxy pFad © 2024 Your Company Name. All rights reserved.





Check this box to remove all script contents from the fetched content.



Check this box to remove all images from the fetched content.


Check this box to remove all CSS styles from the fetched content.


Check this box to keep images inefficiently compressed and original size.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy