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

[VCS] x.plot(variable) fails with poorly defined bounds #74

Open
chaosphere2112 opened this issue Nov 23, 2016 · 1 comment
Open

[VCS] x.plot(variable) fails with poorly defined bounds #74

chaosphere2112 opened this issue Nov 23, 2016 · 1 comment
Assignees
Milestone

Comments

@chaosphere2112
Copy link
Contributor

This issue is reproducible:

>>> type(soAnom)
<class 'cdms2.tvariable.TransientVariable'>
>>> soAnom.shape
(50, 50, 300, 360)
>>> soAnom.getAxisIds()
['time', 'st_ocean', 'yt_ocean', 'xt_ocean']
>>> x = vcs.init()
>>> x.plot(soAnom[0,0,])
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/local/uvcdat/2.4.0rc1/lib/python2.7/site-packages/vcs/Canvas.py", line 2524, in plot
    a = self.__plot(arglist, keyargs)
  File "/usr/local/uvcdat/2.4.0rc1/lib/python2.7/site-packages/vcs/Canvas.py", line 3628, in __plot
    arglist[0] = self._reconstruct_tv(arglist, keyargs)
  File "/usr/local/uvcdat/2.4.0rc1/lib/python2.7/site-packages/vcs/Canvas.py", line 757, in _reconstruct_tv
    mesh = grid.getMesh()
  File "/usr/local/uvcdat/2.4.0rc1/lib/python2.7/site-packages/cdms2/hgrid.py", line 236, in getMesh
    raise CDMSError, 'No boundary data is available for grid %s'%self.id
cdms2.error.CDMSError: No boundary data is available for grid grid_4

Migrated from: CDAT/cdat#1590

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants