Closed rbavery closed 4 years ago
After installing and reinstalling the same version of rasterio with conda, I get a different error related to CRSs when I try to run rasterio.warp.calculate_default_transform
rasterio.errors.CRSError: Unable to open EPSG support file gcs.csv. Try setting the GDAL_DATA environment variable to point to the directory containing EPSG csv files.
It turns out this issue was from the VSCode debugger terminal not reading some GDAL configs properly. Running pytest in a regular terminal solves the issue.
Can you fill required info for the issue? It is in the issue template, you probably pasted over it when posting this.
I originally reported this issue on the rasterio github but the maintainer tested this out and indicated that it was an issue with conda package or my environment since pip installed rasterio was able to keep the CRS info.
See this issue: https://github.com/mapbox/rasterio/issues/1897
Expected behavior and actual behavior.
rasterio version 1.0.23 (installed from pypi) can correctly read in a Landsat ARD geotiff with the CRS info
But with the newest version, 1.1.3 (installed from conda), rasterio.open does not read the CRS info. The crs is None.
The file is linked here: https://ucsb.box.com/s/wyda693k599g2fww2ybrnf7c45mxk55s