vcs
vcs copied to clipboard
vector_gm.datawc(-90, 90, -180, 360) does NOT work (2.8.0)
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