Trigdat files early in the mission are missing the following columns in the OB_CALC extension:
TRIG_TS: The trigger timescale
TR_SCAZ: The spacecraft azimuthal location centroid of the onboard location
TR_SCZEN: The spacecraft zenithal location centroid of the onboard location
Presumably there was a change later in the mission to provide these columns in the OB_CALC extension.
The process of creation of the FswLocation object, which is generated with a Trigdat object is created via the open() method, currently assumes that these columns exist. If they are not found to exist and exception is raised and the Trigdat object cannot be created.
The fix is to check if the columns exist instead of assuming they do exist. Default values are already assigned on instantiation, so no action is required if they do not exist.
Trigdat files early in the mission are missing the following columns in the OB_CALC extension:
Presumably there was a change later in the mission to provide these columns in the OB_CALC extension.
The process of creation of the FswLocation object, which is generated with a Trigdat object is created via the open() method, currently assumes that these columns exist. If they are not found to exist and exception is raised and the Trigdat object cannot be created.
The fix is to check if the columns exist instead of assuming they do exist. Default values are already assigned on instantiation, so no action is required if they do not exist.