Skip to content

Commit

Permalink
unused var i
Browse files Browse the repository at this point in the history
  • Loading branch information
bnb32 committed Apr 25, 2024
1 parent a4a5992 commit 519f577
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sup3r/utilities/interpolate_log_profile.py
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ def save_output(self):
logger.info(f'Creating {self.outfile}.')
with xr.open_dataset(self.infile) as ds:
for var, data in self.new_data.items():
for i, height in enumerate(self.new_heights[var]):
for height in self.new_heights[var]:
name = f'{var}_{height}m'
logger.info(f'Adding {name} to {self.outfile}.')
if name not in ds.data_vars:
Expand Down

0 comments on commit 519f577

Please sign in to comment.