def copy_data(self, second_sidfile):
        has_copied = False
        for iStation, station in enumerate(self.stations):
            try:
                second_idx = second_sidfile.get_station_index(station)
                self.data[iStation] = second_sidfile.data[second_idx][:] # deep copy
                has_copied = True
            except ValueError:
                # missing station in the second file
                pass
        if has_copied:
            self.timestamp = second_sidfile.timestamp[:] # deep copy

    ##
    ##  Write a SID File
    ##
Copy the second_sidfile's data on the current data vector for every common stations.
dataset/ETHPy150Open ericgibert/supersid/supersid/sidfile.py/SidFile.copy_data