Skip to content

Commit 8570d4e

Browse files
committed
Accommodated changes in tiles statistics due to fixes in geotiff reader.
Signed-off-by: Simeon H.K. Fitch <[email protected]>
1 parent 2c9733a commit 8570d4e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

pyrasterframes/python/tests/PyRasterFramesTests.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -121,11 +121,11 @@ def test_aggregations(self):
121121
aggs.show()
122122
row = aggs.first()
123123

124-
self.assertTrue(_rounded_compare(row['agg_mean(tile)'], 10161))
124+
self.assertTrue(_rounded_compare(row['agg_mean(tile)'], 10160))
125125
print(row['agg_data_cells(tile)'])
126-
self.assertTrue(row['agg_data_cells(tile)'] == 388000)
127-
self.assertTrue(row['agg_nodata_cells(tile)'] == 0)
128-
self.assertTrue(row['aggStats(tile)'].dataCells == row['agg_data_cells(tile)'])
126+
self.assertEqual(row['agg_data_cells(tile)'], 387000)
127+
self.assertEqual(row['agg_nodata_cells(tile)'], 1000)
128+
self.assertEqual(row['aggStats(tile)'].dataCells, row['agg_data_cells(tile)'])
129129

130130

131131
def test_sql(self):

0 commit comments

Comments
 (0)