Skip to content

Commit

Permalink
Correct npp name in h5 files.
Browse files Browse the repository at this point in the history
Signed-off-by: Martin Raspaud <martin.raspaud@smhi.se>
  • Loading branch information
mraspaud committed Dec 16, 2014
1 parent ac576b9 commit 232a3b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mpop/satin/h5_pps_l2.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 232a3b3

Please sign in to comment.