示例#1
0
    def get_metadata(self, file_path):
        self.__metadata_files = MseedUtil.get_dataless_files(self.__root_path)
        #self.__metadata_files = MseedUtil.get_xml_files(self.__root_path)
        mseed_stats = ObspyUtil.get_stats(file_path)
        metadata = self.check_metadata(self.__metadata_files, mseed_stats)

        return metadata
示例#2
0
    def __get_stations_stats(self):
        self.__dataless_files = MseedUtil.get_dataless_files(self.__root_path)
        stations_stats = []
        for file in self.dataless_files:
            stations_stats.append(StationsStats.from_dataless(file))

        return stations_stats