Skip to content

Commit

Permalink
small bugfix in 3dsphere regional configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
patrickscholz committed Oct 23, 2024
1 parent 5aa6bcd commit 9ee53c5
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 34 deletions.
72 changes: 39 additions & 33 deletions templates_notebooks/template_3dsphere.ipynb

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion tripyview/sub_3dsphere.py
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ def create_3dsphere_land_mesh(mesh, resol=1, potatoefac=1, do_topo=False, topo_p
poly_y = poly_y[ poly_idx ]


x_m, y_m = np.meshgrid(np.arange(xmin, xmax, resol),np.arange(ymin, ymax, resol))
x_m, y_m = np.meshgrid(np.arange(xmin, xmax+resol, resol),np.arange(ymin, ymax+resol, resol))
x_m, y_m = x_m.reshape((x_m.size, 1)), y_m.reshape((y_m.size, 1))

#_______________________________________________________________________
Expand Down

0 comments on commit 9ee53c5

Please sign in to comment.