Reading OPL files with or without header
SOC seems to be using a header or no header for their OPL CSV files (don't ask me why).
The read_events()
function raises an error when there is a header. Could it be possible to change it so to it doesn't?
I know OPL format might change to JSON in the future but that would great to be able to these official ORB17 OPL files for testing purposes. Thanks.
Example: OPL_SOC_S008_01_SXXPYY.csv
Type,Start_Time,End_Time,Observation,Instrument
JMAG_OBSERVATION,2032-12-18T23:35:31Z,2033-01-08T21:05:31Z,MAG_CONTINOP_FIB_FOB_LIGHT_ONLY,JMAG
PEPLO_OBSERVATION,2032-12-18T17:32:34.000000Z,2032-12-19T11:32:24.000000Z,PEL_JUPITER_IN_SITU_IMAGING_LOW_1,PEPLO
PEPLO_OBSERVATION,2032-12-19T11:32:24.000000Z,2032-12-19T13:02:24.000000Z,PEL_OFF,PEPLO
PEPLO_OBSERVATION,2032-12-19T13:02:24.000000Z,2032-12-19T22:02:11.000000Z,PEL_JUPITER_IN_SITU_IMAGING_LOW_1,PEPLO
PEPLO_OBSERVATION,2032-12-19T22:02:11.000000Z,2032-12-20T12:59:33.000000Z,PEL_JUPITER_IN_SITU_IMAGING_LOW_1,PEPLO
PEPLO_OBSERVATION,2032-12-20T12:59:33.000000Z,2032-12-20T21:58:51.000000Z,PEL_JUPITER_IN_SITU_IMAGING_LOW_1,PEPLO
...