read_fits_s reads in any type of FITS file (Image, Binary table or Ascii table) and outputs the data in IDL structures
read_fits_s , 'dmr_skymap_90a_4yr.fits', pdata, xdata |
read_fits_s reads in the file 'dmr_skymap_90a_4yr.fits'. On output, pdata contains the primary header and xdata is a structure whose first field is the extension header, and the other fields are vectors with respective tag names PIXEL, SIGNAL, N_OBS, SERROR, ... (see help,/struc,xdata)
Version 3.82, 2022-07-28