Skip to content

Commit

Permalink
Added a test that fails for aashish
Browse files Browse the repository at this point in the history
  • Loading branch information
doutriaux1 committed Oct 12, 2015
1 parent f28ff5d commit 197a623
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions testing/vcs/test_vcs_vector_wrap.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
import cdms2
import vcs
import os
import sys


f=cdms2.open(os.path.join(vcs.sample_data,"clt.nc"))

lon1 = 0. # -180 failks as well
u=f("clt")
v=f("clt")

u=u(longitude=(lon1,lon1+360.))
v=v(longitude=(lon1,lon1+360.))

x=vcs.init()
Vec = x.createvector()
p = x.createprojection()
p.type = "polar"
Vec.projection = p
x.plot(u,v,Vec)
raw_input("press enter")

0 comments on commit 197a623

Please sign in to comment.