Skip to content

Commit

Permalink
Merge pull request #2608 from djhoese/bugfix-abil2-refl-toomany
Browse files Browse the repository at this point in the history
  • Loading branch information
mraspaud committed Oct 23, 2023
2 parents d762d1c + bd43ad6 commit 0f339d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion satpy/readers/abi_l2_nc.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def get_dataset(self, key, info):
self._remove_problem_attrs(variable)

# convert to satpy standard units
if variable.attrs['units'] == '1' and key['calibration'] != 'counts':
if variable.attrs['units'] == '1' and key['calibration'] == 'reflectance':
variable *= 100.0
variable.attrs['units'] = '%'

Expand Down

0 comments on commit 0f339d1

Please sign in to comment.