Reading FITS files doesn't work
显示 更早的评论
For some reason I can't read this FITS file...or any FITS files. I keep getting an error that says index out of range. And when I tried removing the "bintable" input I get an empty data variable. I attached the FITS file in a google drive link cause its more than 5 MB. I hope someone can help here.
data = fitsread("emm_exi_l2a_20210831T234418_0101_xos1_f437_r_v04-01.fits", "bintable")
5 个评论
filename=websave('file.fits','https://drive.google.com/u/0/uc?id=1QRCeI7QCWqcRKM1YhoU-D4IR2sfvkv1k&export=download');
data=fitsread(filename)
I have never worked with this type of data, so I don't know how obvious this message is. Did you follow this advice?
Ali Almakhmari
2022-6-3
Walter Roberson
2022-6-3
https://stackoverflow.com/questions/20844385/pyfits-read-compressed-fits-file
Ali Almakhmari
2022-6-3
Jan
2022-6-3
@Ali Almakhmari: Please post a copy of the complete error message. Why do you get an error but Rik does not?
回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!