correct the calculation of date_obs and date_end to record the times only from planes containing raw data
changes to log handling and date calculations