rasterio / rasterio-wheels

MIT License
11 stars 16 forks source link

New wheels of rasterio no longer read AIG grids #103

Closed johanvdw closed 11 months ago

johanvdw commented 1 year ago

Expected behavior and actual behavior.

When trying to open a AIG grid, the latest linux wheels for rasterio give an error. This was not present before.

Steps to reproduce the problem.

import rasterio as rio
with rio.open("tests/data/ff_bt_t10_h/", driver="AIG") as dataset:
    data = dataset.read()

will result in

---------------------------------------------------------------------------
CPLE_OpenFailedError                      Traceback (most recent call last)
rasterio/_base.pyx in rasterio._base.DatasetBase.__init__()

rasterio/_base.pyx in rasterio._base.open_dataset()

rasterio/_err.pyx in rasterio._err.exc_wrap_pointer()

CPLE_OpenFailedError: 'tests/data/ff_bt_t10_h/' not recognized as a supported file format.

Installation Method

Working version: rasterio-1.3.5-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl Failing versions:

I've added my testfiles: aig_test.tar.gz

sgillies commented 1 year ago

Yep, GDAL changed its default driver configuration in switching to cmake. Some defaults are no longer defaults. I'll figure this out for 1.3.7.

sgillies commented 11 months ago

Resolved by #110