bwinkel / pycraf

pycraf is a package that provides functions and procedures for various tasks in spectrum-management compatibility studies.
35 stars 18 forks source link

pyproj error #10

Closed bwinkel closed 3 years ago

bwinkel commented 5 years ago

There is a problem with the latest pyproj version, that leads to exceptions (in the tests), such as:

pyproj.exceptions.CRSError: Invalid projection: +init=epsg:4326 +type=crs: (Internal Proj Error: proj_create: cannot expand +init=epsg:4326 +type=crs)

This is related to pyproj4/pyproj#198.

As simple fix would seem to be removing the +init= from the definition.

bwinkel commented 5 years ago

Unfortunately, we now get another exception:

UNEXPECTED EXCEPTION: CRSError('Invalid projection: epsg:4326: (Internal Proj Error: proj_create: no database context specified)')

I have no idea, why the datadir would not be set on travis after installation (with miniconda) from scratch...