Skip to content
Snippets Groups Projects
Commit 8c8c20f5 authored by (no author)'s avatar (no author)
Browse files

should be an or when comparing invalid lon/lat masks

git-svn-id: https://svn.ssec.wisc.edu/repos/glance/trunk@41 8a9318a1-56ba-4d59-b755-99d26321be01
parent f9bd6f41
No related branches found
No related tags found
No related merge requests found
......@@ -316,7 +316,7 @@ def _check_lon_lat_equality(longitudeA, latitudeA,
latitudeDiff, finiteLatitudeMask, _, _, _, lat_not_equal_mask = delta.diff(latitudeA, latitudeB,
llepsilon,
ignoreMask=combinedIgnoreMask)
lon_lat_not_equal_mask = lon_not_equal_mask & lat_not_equal_mask
lon_lat_not_equal_mask = lon_not_equal_mask | lat_not_equal_mask
lon_lat_not_equal_points_count = sum(lon_lat_not_equal_mask.ravel())
lon_lat_not_equal_points_percent = (float(lon_lat_not_equal_points_count) / float(lon_lat_not_equal_mask.size)) * 100.0
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment