diff --git a/pyglance/glance/compare.py b/pyglance/glance/compare.py index 024bd0ffc527fea3600399c13c894884918b11f7..5e7738a90255807c36fa84cf13d6e18a3cb67faa 100644 --- a/pyglance/glance/compare.py +++ b/pyglance/glance/compare.py @@ -308,7 +308,7 @@ def _check_lon_lat_equality(longitudeA, latitudeA, lon_lat_not_equal_mask = ((abs(longitudeDiff) > llepsilon) | (abs(latitudeDiff) > llepsilon)) & (~combinedIgnoreMask) \ & finiteLatitudeMask & finiteLongitudeMask 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) + lon_lat_not_equal_points_percent = (float(lon_lat_not_equal_points_count) / float(lon_lat_not_equal_mask.size)) * 100.0 # if we have unequal points, create user legible info about the problem if (lon_lat_not_equal_points_count > 0) : diff --git a/pyglance/glance/plot.py b/pyglance/glance/plot.py index 5bcc2c1d199adea2cff2f7b6d24a04c75db024de..a63ef922e655451e0afbb0c00211ccbf4d086df7 100644 --- a/pyglance/glance/plot.py +++ b/pyglance/glance/plot.py @@ -200,7 +200,7 @@ def _create_mapped_figure(data, latitude, longitude, boundingAxes, title, kwargs['cmap'] = colorMap # draw our data placed on a map - bMap, x, y = maps.mapshow(longitudeCleaned, latitudeCleaned, data, boundingAxes, projection='merc', + bMap, x, y = maps.mapshow(longitudeCleaned, latitudeCleaned, data, boundingAxes, #projection='merc', **kwargs) # and some informational stuff