Performs two passes to guarantee that the datetime axis
contains no repeated values:
remove any duplicate records
guarantee that rows are in datetime order
average together fields for any remaining records that share the same
datetime
pat_distinct(pat)pat object
A pat object with no duplicated data records.