Skip to content

Commit

Permalink
Remove unneeded code
Browse files Browse the repository at this point in the history
  • Loading branch information
Trygve Aspenes committed Feb 13, 2021
1 parent 56b64a0 commit 152fb6d
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions satpy/readers/satpy_cf_nc.py
Original file line number Diff line number Diff line change
Expand Up @@ -257,9 +257,6 @@ def _dynamic_datasets(self):
ds_info['wavelength'] = WavelengthRange.from_cf(ds_info['wavelength'])
except KeyError:
pass
except ValueError:
if isinstance(ds_info['wavelength'], str):
ds_info['wavelength'] = tuple([float(wlength) for wlength in ds_info['wavelength'].split(',')[0:3]])
self.fix_modifier_attr(ds_info)
yield True, ds_info

Expand Down

0 comments on commit 152fb6d

Please sign in to comment.