Project

General

Profile

Revision 818:8316d57368b6

ID8316d57368b6
Parent 817:b1891bf5727b
Child 819:a49c7fad4018

Added by Maarten Sneep about 2 years ago

Explicitly add the actual filename to the extracted metadata (issue #27361)

View differences:

src/pycama/Reader.py
1111 1111
                self.event_counting[product][orbit_id][atname] = ref.attrs[atname]
1112 1112
            except IOError:
1113 1113
                pass
1114

  
1114
                
1115
        self.event_counting[product][orbit_id]['filename'] = os.path.basename(ref.filename)
1116
        
1115 1117
        try:
1116 1118
            grp = ref['/METADATA/QA_STATISTICS']
1117 1119
        except KeyError:

Also available in: Unified diff