Skip to content

Commit 187c564

Browse files
committed
reinclude test of MeshArrays.within_pol
1 parent 6ee7a40 commit 187c564

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

test/runtests.jl

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -350,14 +350,14 @@ end
350350
plot_examples(:baseproj,proj,lon0,pol=pol_shp)
351351
end
352352

353-
if false
354-
#@testset "polygon operations" begin
353+
@testset "polygon operations" begin
355354
name,rule=MeshArrays.within_pol(pol_json; ID=11)
356355
rule_vec = (x,y) -> rule.(x,y)
357356

358357
np=10000; lo=-180 .+360*rand(np); la=-90 .+180*rand(np);
359358
sum(rule_vec(lo,la))
360359

360+
if false
361361
path_MITgcm=MITgcm.getdata("mitgcmsmallverif")
362362
path_grid=joinpath(path_MITgcm,"MITgcm","verification","tutorial_held_suarez_cs","input")
363363
pols,pols3D=MeshArrays.Polygons.polygons_demo(path_grid)
@@ -366,6 +366,7 @@ if false
366366
MeshArrays.plot_examples(:polygons_plot,pols,color=Depth)
367367
MeshArrays.plot_examples(:polygons_plot_dev1,pols,pols3D,sphere_view=true)
368368
MeshArrays.plot_examples(:polygons_plot_dev1,pols,pols3D,sphere_view=false)
369+
end
369370
end
370371

371372
@testset "doctests" begin

0 commit comments

Comments
 (0)