Commit 66ce1bd2 authored by Kris Vanneste's avatar Kris Vanneste
Browse files

Fixed construction of bbox in extract_grid_data function.

git-svn-id: https://svn.seismo.oma.be/svn/seismo/mapping/layeredbasemap/trunk@7567 40b490c5-b4d9-47cb-8714-9bef99b524d5
parent 89deb914
......@@ -175,7 +175,7 @@ def extract_grid_data(grid_spec, xdata, ydata, resolution=0, interp_order=1,
"""
xdata = np.asarray(xdata)
ydata = np.asarray(ydata)
bbox = (xdata.min(), xdata.max(), ydata.min(), ydata.max)
bbox = (xdata.min(), ydata.min(), xdata.max(), ydata.max())
grd = get_grid(grid_spec, bbox=bbox, resolution=resolution, lonlat=lonlat)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment