Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

meshfill wrap seems broken #323

Closed
doutriaux1 opened this issue Mar 2, 2018 · 0 comments
Closed

meshfill wrap seems broken #323

doutriaux1 opened this issue Mar 2, 2018 · 0 comments
Labels
Milestone

Comments

@doutriaux1
Copy link
Contributor

@doutriaux1 doutriaux1 commented Mar 2, 2018

import vcs
import numpy
data = numpy.array([1])

lats = numpy.array([0.])
lons = numpy.array([0.])

blats = [-10,-10,10,10]
blons = [-10,10,10,-10]

mesh = numpy.zeros((1,2,4))

mesh[:,0] = blats[:]
mesh[:,1] = blons[:]

x = vcs.init()

gm = vcs.createmeshfill()
gm.datawc_x1 = -15
gm.datawc_x2 =  15
gm.datawc_y1 = -15
gm.datawc_y2 =  15
gm.mesh = True
gm.wrap = [0.,20.]
x.plot(data,mesh,gm)

should plot 3 cells but generates

wrap

@doutriaux1 doutriaux1 added the bug label Mar 2, 2018
@doutriaux1 doutriaux1 added this to the 3.0 milestone Mar 2, 2018
doutriaux1 added a commit that referenced this issue Mar 2, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant