How can I edit FITS Headers when I can't open the file to edit them?
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
I generated many 3D FITS files with incorrect header sequences. In particular, the Keyword NAXIS3 does not immediately follow NAXIS1 and NAXIS2. I can open these fits files in MatLab R2010a using fitsread, but not in R2013a where the FITS format was updated. When I try to open the file in MatLab R2013a, I get the following error:
Error using fitsiolib CFITSIO library error (224): missing NAXISn keywords
I would love to edit the headers in these files in some way, but can not seem to edit in R2010a where I can open them, and in R2013a where I could edit them if I could open them, I can't open. Any suggestions?
Thanks!
1 commentaire
dpb
le 18 Sep 2013
I "know nuthink" of FITS per se; looking at the doc's makes me wonder if you could
a) open in 2010a, save the image data in some other format and then use that in 2013a, or
b) use the lower-level API calls and workaround the problem the higher-level packaged functions have?
Just a WAG...
Réponses (0)
Voir également
Catégories
En savoir plus sur Performance and Memory dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!