vcs icon indicating copy to clipboard operation
vcs copied to clipboard

Plotting areacello data fails

Open chaosphere2112 opened this issue 7 years ago • 9 comments

The offending file is: /cmip5_css02/scratch/cmip5/output1/NCAR/CCSM4/1pctCO2/fx/ocean/fx/r0i0p0/v20130312/areacello/areacello_fx_CCSM4_1pctCO2_r0i0p0.nc

/work/cmip5/fx/fx/areacello/cmip5.CCSM4.1pctCO2.r0i0p0.fx.ocn.fx.areacello.ver-v20130312.latestX.xml
Traceback (most recent call last):
  File "make_evsp.py", line 171, in <module>
    c.plot(areacello)
  File "/usr/local/uvcdat/2016-02-04/lib/python2.7/site-packages/vcs/Canvas.py", line 2424, in plot
    a = self.__plot(arglist, keyargs)
  File "/usr/local/uvcdat/2016-02-04/lib/python2.7/site-packages/vcs/Canvas.py", line 3747, in __plot
    returned_kargs = self.backend.plot(*arglist, **keyargs)
  File "/usr/local/uvcdat/2016-02-04/lib/python2.7/site-packages/vcs/VTKPlots.py", line 533, in plot
    vtk_backend_grid, vtk_backend_geo))
  File "/usr/local/uvcdat/2016-02-04/lib/python2.7/site-packages/vcs/vcsvtk/pipeline2d.py", line 290, in plot
    self._createMaskedDataMapper()
  File "/usr/local/uvcdat/2016-02-04/lib/python2.7/site-packages/vcs/vcsvtk/pipeline2d.py", line 335, in _createMaskedDataMapper
    deep=False)
  File "/usr/local/uvcdat/2016-02-04/lib/python2.7/site-packages/vcs/vcs2vtk.py", line 117, in putMaskOnVTKGrid
    vtkmask.SetNumberOfTuples(attributes2.GetPedigreeIds().GetNumberOfTuples())
AttributeError: 'NoneType' object has no attribute 'GetNumberOfTuples'

The equivalent plot in ferret looks like: cmip5 ccsm4 1pctco2 r0i0p0 fx ocn fx areacello ver-v20130312

Migrated from: https://github.com/UV-CDAT/uvcdat/issues/1833

chaosphere2112 avatar Nov 23 '16 15:11 chaosphere2112