Skip to content

Commit

Permalink
Removed unnecessary keys()
Browse files Browse the repository at this point in the history
  • Loading branch information
ninahakansson committed Nov 26, 2019
1 parent 2da6585 commit 949e368
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion satpy/readers/avhrr_l1b_gaclac.py
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ def get_dataset(self, key, info):
if xcoords:
res[xdim] = xcoords

for attr in self.reader.meta_data.keys():
for attr in self.reader.meta_data:
res.attrs[attr] = self.reader.meta_data[attr]
res.attrs['platform_name'] = self.reader.spacecraft_name
res.attrs['orbit_number'] = self.filename_info['orbit_number']
Expand Down

0 comments on commit 949e368

Please sign in to comment.