New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to open EPSG support file gcs.csv (GDAL 3.0.1 PROJ 6.1.1) #1787
Comments
Update: |
@snowman2 if you were really using GDAL 3.0.1, you would see this:
This is another case of a screwed up conda environment. I'm going to close. |
Huh, makes sense. Thanks! |
"another case of a screwed up conda environment" sounds like a frequent occurence, and like where I am right now. Anyone have pointers to docs about how to correctly use conda and rasterio? |
After re-installing with conda-forge it worked. |
@maphew let me clarify: I don't think conda and conda-forge are extra fragile or risky. Conda-forge is a good project and Rasterio profits from its support! Python environments, whether conda or virtualenv, can become unstable after incremental updates to them. Best practice in my opinion is to keep their configuration under version control using a requirements file or whatever (I'm not that familiar with coda) and regularly recycle them. In other words, delete them and recreate replacements. |
Couple of minor updates due to upgrade to GMT6.0 stable. The subplots now use 0-based indexing instead of 1-based before since GenericMappingTools/gmt#1315. Also using full PROJ4 string for EPSG:3031 in data_prep.save_array_to_grid as GMT conda now pulls in GDAL 3.0 instead of 2.4 before, and that causes problems with rasterio's CRS as it can't find the gcs.csv file (see e.g. rasterio/rasterio#1787), possibly a problem because we use pypi rasterio wheels that have built-in GDAL 2.4 binaries? Newer rasterio versions up to 1.1.1 don't work either, I've tried...
I have the same problem with GDAL 3.0.2 installed from conda forge and rasterio also installed from conda forge. Is there a solution to this problem? |
Sorry, I missed that I have to downgrade to an older version of GDAL. |
@ClaireBrenner no, that's not true. The lastest version of rasterio works fine with GDAL 3. |
Not sure if this is a rasterio or a GDAL problem. Currently leaning towards GDAL, but figured I would start here.
Observed behavior
Data directory contents
gcs.csv
is missing from the directory.Steps to reproduce the problem.
Operating system
Rasterio version and provenance
The text was updated successfully, but these errors were encountered: