From 232a3b3d8bd755023ee36495bb978e3bcde5b95a Mon Sep 17 00:00:00 2001 From: Martin Raspaud Date: Tue, 16 Dec 2014 16:01:18 +0100 Subject: [PATCH] Correct npp name in h5 files. Signed-off-by: Martin Raspaud --- mpop/satin/h5_pps_l2.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mpop/satin/h5_pps_l2.py b/mpop/satin/h5_pps_l2.py index f6bed363..cee8165d 100644 --- a/mpop/satin/h5_pps_l2.py +++ b/mpop/satin/h5_pps_l2.py @@ -494,7 +494,7 @@ def get_lonlat(filename): lats = lats * scale_factor + add_offset # FIXME: this is to mask out the npp bowtie deleted pixels... - if h5f["how"].attrs['platform'] == "Suomi-NPP": + if h5f["how"].attrs['platform'] == "npp": new_mask = np.zeros((16, 3200), dtype=bool) new_mask[0, :1008] = True