Skip to content
Snippets Groups Projects
ObservatoryMetadata.py 39.5 KiB
Newer Older
        # copy in standard metadata
        metadata = self.metadata[observatory]['metadata']
        for key in metadata:
            stats[key] = metadata[key]
        # copy in interval specific metadata
        interval_specific = self.interval_specific
        if 'interval_specific' in self.metadata[observatory]:
            interval_specific = \
                self.metadata[observatory]['interval_specific']
        # stats['data_interval_type'] = data_interval_type[interval]
        for key in interval_specific[interval]:
            stats[key] = interval_specific[interval][key]