From 39bb3b94ad240d4bc12fce056c3c68642ad0c002 Mon Sep 17 00:00:00 2001 From: "(no author)" <(no author)@8a9318a1-56ba-4d59-b755-99d26321be01> Date: Tue, 25 Aug 2009 18:13:23 +0000 Subject: [PATCH] correcting typo in io code git-svn-id: https://svn.ssec.wisc.edu/repos/glance/trunk@63 8a9318a1-56ba-4d59-b755-99d26321be01 --- pyglance/glance/io.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pyglance/glance/io.py b/pyglance/glance/io.py index b9319ee..d1b7263 100644 --- a/pyglance/glance/io.py +++ b/pyglance/glance/io.py @@ -82,7 +82,7 @@ class hdf(SD): # get information about where the data is the missing value missing_val = self.missing_value(name) - missing_mask = (raw_data_copy == missing_value) + missing_mask = (raw_data_copy == missing_val) # create the scaled version of the data scaled_data_copy = np.array(raw_data_copy, dtype=data_type) @@ -146,7 +146,7 @@ class nc(CDF): # get information about where the data is the missing value missing_val = self.missing_value(name) - missing_mask = (raw_data_copy == missing_value) + missing_mask = (raw_data_copy == missing_val) # create the scaled version of the data scaled_data_copy = np.array(raw_data_copy, dtype=data_type) @@ -222,7 +222,7 @@ class h5(object): # get information about where the data is the missing value missing_val = self.missing_value(name) - missing_mask = (raw_data_copy == missing_value) + missing_mask = (raw_data_copy == missing_val) # create the scaled version of the data scaled_data_copy = np.array(raw_data_copy, dtype=data_type) -- GitLab