guaix-ucm / megaradrp

MEGARA (Multi-Espectrógrafo en GTC de Alta Resolución para Astronomía) is a facility instrument designed for the 10.4m GTC telescope in La Palma (Spain).
https://guaix.fis.ucm.es/megara/
GNU General Public License v3.0
12 stars 6 forks source link

reduced_rss and final_rss miss astrometry needed by cube.fits in FIBERS extension #187

Open gildepaz opened 6 years ago

gildepaz commented 6 years ago

While the main extension of both the reduced_rss.fits and final_rss.fits produced by the LcbImage mode include most of the astrometry keywords needed by cube.py, cube.py requires this info to be in the FIBERS extension. The PC matrix is also missing in the FIBERS extension.

gildepaz commented 6 years ago

This errors is independent of #186, since even after adding all the astrometry keywords by hand to the FIBERS extension of reduced_rss.fits it still fails under Python3.

acasmor commented 6 years ago

Under Phython2 reduced_rss.fits and final_rss.fits include the astrometry keywords and matrix transformation in the FIBERS extension.