I am gettin x = [inf inf inf.....] and y = [inf inf inf...]. Has anyone encountered this error before? I am attempting to convert lon and lat into x y values. I have the following code but I cannot figure out what is incorrect. This is San Diego data set.
import scipy.io;
from pyproj import Proj;
canyon = scipy.io.loadmat('INIT.MAT');
topo = canyon.get('siocanyon');
lat = tuple(topo[:, 0])
lon = tuple(topo[:, 1])
z = topo[:, 2]
myProj = Proj(proj='utm', zone=11, ellps='WGS84', preserve_units=False)
y, x = myProj(lon, lat)