File tree Expand file tree Collapse file tree 3 files changed +15
-6
lines changed
Expand file tree Collapse file tree 3 files changed +15
-6
lines changed Original file line number Diff line number Diff line change 11from __future__ import annotations
22
3- ALL_DATA_IMAGES : list [tuple [str , str ]] = [
4- ("eox" , "eox_cloudless" ),
3+ ALL_COG_IMAGES : list [tuple [str , str ]] = [
54 ("nlcd" , "nlcd_landcover" ),
65 ("rasterio" , "float32_1band_lerc_block32" ),
76 ("rasterio" , "float32_1band_lerc_deflate_block32" ),
1413 ("rasterio" , "uint8_rgba_webp_block64_cog" ),
1514 ("umbra" , "sydney_airport_GEC" ),
1615]
16+ """All fixtures that have overviews where the data can be compared with rasterio."""
17+
18+ ALL_DATA_IMAGES : list [tuple [str , str ]] = [
19+ * ALL_COG_IMAGES ,
20+ ("eox" , "eox_cloudless" ),
21+ ]
1722"""All fixtures where the data can be compared with rasterio."""
1823
1924
Original file line number Diff line number Diff line change 88import pytest
99from rasterio .windows import Window
1010
11- from .image_list import ALL_DATA_IMAGES , ALL_MASKED_IMAGES
11+ from .image_list import (
12+ ALL_COG_IMAGES ,
13+ ALL_DATA_IMAGES ,
14+ ALL_MASKED_IMAGES ,
15+ )
1216
1317if TYPE_CHECKING :
1418 from .conftest import LoadGeoTIFF , LoadRasterio
@@ -40,7 +44,7 @@ async def test_fetch(
4044@pytest .mark .asyncio
4145@pytest .mark .parametrize (
4246 ("variant" , "file_name" ),
43- ALL_DATA_IMAGES ,
47+ ALL_COG_IMAGES ,
4448)
4549async def test_fetch_overview (
4650 load_geotiff : LoadGeoTIFF ,
Original file line number Diff line number Diff line change 1111import async_geotiff
1212from async_geotiff .exceptions import WindowError
1313
14- from .image_list import ALL_DATA_IMAGES
14+ from .image_list import ALL_COG_IMAGES , ALL_DATA_IMAGES
1515
1616if TYPE_CHECKING :
1717 from .conftest import LoadGeoTIFF , LoadRasterio
@@ -94,7 +94,7 @@ async def test_read_spanning_tiles(
9494@pytest .mark .asyncio
9595@pytest .mark .parametrize (
9696 ("variant" , "file_name" ),
97- ALL_DATA_IMAGES ,
97+ ALL_COG_IMAGES ,
9898)
9999async def test_read_overview (
100100 load_geotiff : LoadGeoTIFF ,
You can’t perform that action at this time.
0 commit comments