NCPP / ocgis

OpenClimateGIS is a set of geoprocessing and calculation tools for CF-compliant climate datasets.
Other
70 stars 21 forks source link

automatically set GDAL_DATA variable if not present #358

Closed bekozi closed 9 years ago

bekozi commented 9 years ago

who: @bekozi

The GDAL_DATA variable is often required when importing osgeo. It is not clear which systems this works correctly on. When testing CentOS, even with the data files installed corrected and gdal-config --data-dir pointing to the correct location, the environment variable is required.