From fe4721d776009a9e6c8421801f570b19285f2693 Mon Sep 17 00:00:00 2001 From: BengtRydberg Date: Fri, 16 Aug 2024 12:14:48 +0200 Subject: [PATCH] fixing typo --- level1c4pps/mersi2pps_lib.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/level1c4pps/mersi2pps_lib.py b/level1c4pps/mersi2pps_lib.py index 253ea6c..366ac53 100644 --- a/level1c4pps/mersi2pps_lib.py +++ b/level1c4pps/mersi2pps_lib.py @@ -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)