Open keflavich opened 3 years ago
Process ought to be:
import casa_formats_io
from astropy.table import Table
history = Table.read('G327.29_B6_spw1_12M_spw1.image/logtable')
...cube.hdulist[2] = history ....
We need either: (1) a history attribute that gets attached to the SpectralCube or (2) to convert the HISTORY to FITS HISTORY.
The latter requires less infrastructure but is going to be somewhat lossy.
casaformatsio can read it: https://github.com/radio-astro-tools/casa-formats-io/issues/9
so we need to make that part of the header data