issues
search
brmather
/
pycurious
Python package for computing the Curie depth from the magnetic anomaly
https://brmather.github.io/pycurious/
GNU Lesser General Public License v3.0
38
stars
17
forks
source link
ModuleNotFoundError: No module named 'pyproj'
#39
Open
manees12
opened
1 year ago
manees12
commented
1 year ago
When solving [Ex5-Mapping-Curie-depth-EMAG2.ipynb] through Binder, at the interpolation onto grid projection step, I got this error:
ModuleNotFoundError Traceback (most recent call last)
in
7 8 # extent on the sphere (WGS84) ----> 9 extent_sphere = mapping.convert_extent(extent_grid, epsg_in=2157, epsg_out=4326) 10 11 # map extent - should be narrower than extent_sphere /usr/lib/python3.6/site-packages/pycurious/mapping.py in convert_extent(extent_in, epsg_in, epsg_out) 103 xi = [xmin, xmin, xmax, xmax] 104 yi = [ymin, ymax, ymin, ymax] --> 105 xo, yo = transform_coordinates(xi, yi, epsg_in, epsg_out) 106 extent_out = [min(xo), max(xo), min(yo), max(yo)] 107 return extent_out /usr/lib/python3.6/site-packages/pycurious/mapping.py in transform_coordinates(x, y, epsg_in, epsg_out) 77 y coordinates projected in `epsg_out` 78 """ ---> 79 import pyproj 80 81 proj_in = pyproj.Proj("+init=EPSG:" + str(epsg_in)) ModuleNotFoundError: No module named 'pyproj' Could you please debug this?
When solving [Ex5-Mapping-Curie-depth-EMAG2.ipynb] through Binder, at the interpolation onto grid projection step, I got this error:
ModuleNotFoundError Traceback (most recent call last)