@felixzhu555 I've merged some fixes to how the Dataset parses the time columns on the dataframe.
To get this to work we need to read the units from the table that is read from the FITS file, and replace the "TIME" column name with the units, in the test case this was "BJD - 2457000, days". I think you can get that value by getting the table.info property, e.g., do something like table.['TIME'].unit.to_string(), and put that as the name of the column instead of 'TIME'. That will allow the Dataset to parse the time offset and save the timestamp properly as BJD.
@felixzhu555 I've merged some fixes to how the
Dataset
parses the time columns on the dataframe. To get this to work we need to read the units from the table that is read from the FITS file, and replace the "TIME" column name with the units, in the test case this was "BJD - 2457000, days". I think you can get that value by getting the table.info property, e.g., do something liketable.['TIME'].unit.to_string()
, and put that as the name of the column instead of'TIME'
. That will allow theDataset
to parse the time offset and save the timestamp properly as BJD.