We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
@doutriaux1 as discussed:
inPath = '/work/durack1/Shared/model_data/140220_AusCOM1-0/' inFile = 'AusCOM1-0.Salt.Omon.so.00011231-00501231.nc' >>> f_h = cdm.open(os.path.join(inPath,inFile)) >>> so = f_h('so') f_h.close() >>> so = so[0:1,] >>> import vcs >>> x = vcs.init() >>> so.shape (1, 50, 300, 360) >>> iso = x.createisofill() >>> x.plot(so[0,],iso) 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 2717, in __plot "with a method that is not meshfill") RuntimeError: You are attempting to plot unstructured gridwith a method that is not meshfill >>> x.plot(so[0,].filled(),iso) ERROR: In /export/doutriaux1/build/build/VTK/Filters/Modeling/vtkBandedPolyDataContourFilter.cxx, line 240 vtkBandedPolyDataContourFilter (0x29f0dc0): No input data! ERROR: In /export/doutriaux1/build/build/VTK/Filters/Modeling/vtkBandedPolyDataContourFilter.cxx, line 240 vtkBandedPolyDataContourFilter (0x2992ed0): No input data! <vcs.displayplot.Dp object at 0x7ff47f2d7250> >>> x.plot(np.ma.masked_greater(so[0,].filled(),1.e15),iso) ERROR: In /export/doutriaux1/build/build/VTK/Filters/Modeling/vtkBandedPolyDataContourFilter.cxx, line 240 vtkBandedPolyDataContourFilter (0x55c8c30): No input data! <vcs.displayplot.Dp object at 0x7ff47f2d7750> >>> x.clear() >>> x.plot(MV.masked_greater(so[0,].filled(),1.e15),iso) ERROR: In /export/doutriaux1/build/build/VTK/Filters/Modeling/vtkBandedPolyDataContourFilter.cxx, line 240 vtkBandedPolyDataContourFilter (0x40a4ba0): No input data! <vcs.displayplot.Dp object at 0x7ff47f167250> >>> b = np.ma.masked_less(so[0,],0) >>> b.count() 2665221 >>> x.plot(b) 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() AttributeError: 'NoneType' object has no attribute 'getMesh' >>> b = np.ma.masked_less(so[0].filled(),0) >>> x.plot(b) <vcs.displayplot.Dp object at 0x7ff47f167750> >>> x.plot(np.ma.masked_less(so[0].filled(),0)) <vcs.displayplot.Dp object at 0x7ff47f167c50> >>> x.plot(MV.masked_greater(so[0].filled(),1.e15),iso) ERROR: In /export/doutriaux1/build/build/VTK/Filters/Modeling/vtkBandedPolyDataContourFilter.cxx, line 240 vtkBandedPolyDataContourFilter (0x128a90f0): No input data! <vcs.displayplot.Dp object at 0x7ff47f176250> >>> x.plot(np.ma.masked_greater(so[0].filled(),0),iso) ERROR: In /export/doutriaux1/build/build/VTK/Filters/Modeling/vtkBandedPolyDataContourFilter.cxx, line 240 vtkBandedPolyDataContourFilter (0x11a44f50): No input data! /usr/local/uvcdat/2.4.0rc1/lib/python2.7/site-packages/numpy/ma/core.py:3855: UserWarning: Warning: converting a masked element to nan. warnings.warn("Warning: converting a masked element to nan.") 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 3839, in __plot returned_kargs = self.backend.plot(*arglist, **keyargs) File "/usr/local/uvcdat/2.4.0rc1/lib/python2.7/site-packages/vcs/VTKPlots.py", line 488, in plot vtk_backend_grid, vtk_backend_geo)) File "/usr/local/uvcdat/2.4.0rc1/lib/python2.7/site-packages/vcs/vcsvtk/pipeline2d.py", line 153, in plot self._plotInternal() File "/usr/local/uvcdat/2.4.0rc1/lib/python2.7/site-packages/vcs/vcsvtk/isofillpipeline.py", line 322, in _plotInternal opacity=opacities)) File "/usr/local/uvcdat/2.4.0rc1/lib/python2.7/site-packages/vcs/VTKPlots.py", line 795, in renderColorBar opacity=opacity) File "/usr/local/uvcdat/2.4.0rc1/lib/python2.7/site-packages/vcs/template.py", line 1859, in drawColorBar if levels[0] < levels[1]: IndexError: list index out of range >>> x.plot(np.ma.masked_less(so[0].filled(),0),iso) ERROR: In /export/doutriaux1/build/build/VTK/Filters/Modeling/vtkBandedPolyDataContourFilter.cxx, line 240 vtkBandedPolyDataContourFilter (0x11cb50b0): No input data! ERROR: In /export/doutriaux1/build/build/VTK/Filters/Modeling/vtkBandedPolyDataContourFilter.cxx, line 240 vtkBandedPolyDataContourFilter (0x11cbef70): No input data! <vcs.displayplot.Dp object at 0x7ff47f176b50> >>> x.clear() >>> x.plot(np.ma.masked_less(so[0].filled(),0),iso) ERROR: In /export/doutriaux1/build/build/VTK/Filters/Modeling/vtkBandedPolyDataContourFilter.cxx, line 240 vtkBandedPolyDataContourFilter (0x323b8d0): No input data! ERROR: In /export/doutriaux1/build/build/VTK/Filters/Modeling/vtkBandedPolyDataContourFilter.cxx, line 240 vtkBandedPolyDataContourFilter (0x303f0a0): No input data! <vcs.displayplot.Dp object at 0x7ff47f176150> >>> x.plot(np.ma.masked_less(so[0].filled(),0)) <vcs.displayplot.Dp object at 0x7ff47f176650> >>> x.plot(np.ma.masked_less(so[0].filled(),0)) <vcs.displayplot.Dp object at 0x7ff47f176c50> >>> x.plot(b) <vcs.displayplot.Dp object at 0x7ff47f1f1250> >>> x.plot(b,iso) ERROR: In /export/doutriaux1/build/build/VTK/Filters/Modeling/vtkBandedPolyDataContourFilter.cxx, line 240 vtkBandedPolyDataContourFilter (0xb0207c0): No input data! ERROR: In /export/doutriaux1/build/build/VTK/Filters/Modeling/vtkBandedPolyDataContourFilter.cxx, line 240 vtkBandedPolyDataContourFilter (0xb02aba0): No input data! <vcs.displayplot.Dp object at 0x7ff47f1f1750>
The text was updated successfully, but these errors were encountered:
migrated to vcs
Sorry, something went wrong.
No branches or pull requests
@doutriaux1 as discussed:
The text was updated successfully, but these errors were encountered: