Skip to content

Commit

Permalink
fixing typo
Browse files Browse the repository at this point in the history
  • Loading branch information
BengtRydberg committed Aug 16, 2024
1 parent e40df72 commit fe4721d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion level1c4pps/mersi2pps_lib.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ def set_header_and_band_attrs(scene, band, orbit_n):
def remove_broken_data(scene):
"""Set bad data to nodata."""
for band in PPS_BAND_NAME:
if band in band not in REFL_BANDS and band in scene:
if band not in REFL_BANDS and band in scene:
scene[band].data = np.where(scene[band].data < LOW_TB, np.nan, scene[band].data)


Expand Down

0 comments on commit fe4721d

Please sign in to comment.