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

vector_gm.datawc(-90, 90, -180, 360) does NOT work (2.8.0) #182

Open
jypeter opened this issue Apr 27, 2017 · 0 comments
Open

vector_gm.datawc(-90, 90, -180, 360) does NOT work (2.8.0) #182

jypeter opened this issue Apr 27, 2017 · 0 comments
Milestone

Comments

@jypeter
Copy link
Member

jypeter commented Apr 27, 2017

vector_gm.datawc(-90, 90, -180, 360) gives me an error, but it seems to work with boxfill. I have also used it successfully with isofill

>>> import vcs
>>> x = vcs.init()
>>> bf = x.createboxfill()
>>> bf.datawc_x1
1e+20
>>> bf.datawc(-90, 90, -180, 360)
>>> bf.datawc_x1
-180
>>> vect = x.createvector()
>>> vect.datawc_x1
1e+20
>>> vect.datawc(-90, 90, -180, 360)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/share/unix_files/cdat/miniconda2/envs/cdatm14/lib/python2.7/site-packages/vcs/vector.py", line 761, in datawc
    mode = self.parent.mode
AttributeError: 'Gv' object has no attribute 'parent'
>>> vect.datawc_x1
1e+20

@doutriaux1 doutriaux1 modified the milestone: 3.0 May 5, 2017
@doutriaux1 doutriaux1 modified the milestones: 3.0, Next Release Mar 29, 2018
@doutriaux1 doutriaux1 modified the milestones: 8.1, 8.2 Mar 27, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants