CheckforAddSimulatedWavecal tries to calculate the exposure duration by calculating the difference between the time of the last and first events. This causes an index error if the event list is empty. This fix will trap the case of zero events and proceed normally. Products are created, with empty data extensions if events are absent.
CheckforAddSimulatedWavecal tries to calculate the exposure duration by calculating the difference between the time of the last and first events. This causes an index error if the event list is empty. This fix will trap the case of zero events and proceed normally. Products are created, with empty data extensions if events are absent.