Reading FITS files doesn't work

3 views (last 30 days)
Ali Almakhmari
Ali Almakhmari on 3 Jun 2022
Commented: Jan on 3 Jun 2022
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 Comments
Ali Almakhmari
Ali Almakhmari on 3 Jun 2022
This is for a compressed file, and I don’t think mine is. Also, this requires Python but I am trying to do all of this in MATLAB.
Jan
Jan on 3 Jun 2022
@Ali Almakhmari: Please post a copy of the complete error message. Why do you get an error but Rik does not?

Sign in to comment.

Answers (0)

Products


Release

R2019a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!