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

Plotting CCSM4 areacello data fails #1833

Closed
durack1 opened this issue Feb 16, 2016 · 6 comments
Closed

Plotting CCSM4 areacello data fails #1833

durack1 opened this issue Feb 16, 2016 · 6 comments
Assignees

Comments

@durack1
Copy link
Member

durack1 commented Feb 16, 2016

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

@doutriaux1
Copy link
Contributor

fixed in master this morning

@durack1
Copy link
Member Author

durack1 commented Feb 17, 2016

@doutriaux1 I will confirm this if you're able to generate me a new master build on ocean - am hoping to get this going tomorrow (Wednesday)

@durack1
Copy link
Member Author

durack1 commented Feb 17, 2016

@doutriaux1 great, so it plots but still has a similar wrapping issue that @danlipsa is looking into in #1728
cmip5 ccsm4 1pctco2 r0i0p0 fx ocn fx areacello ver-v20130312

@durack1
Copy link
Member Author

durack1 commented Apr 25, 2016

@danlipsa should this issue be resolved in 2.4.1?

@danlipsa
Copy link
Contributor

@durack1 Not that I know of. Keep lobbying @doutriaux1 and @aashish24 to bump its priority for me to look at it :-). I think this is different than #1728.

@doutriaux1
Copy link
Contributor

migrated to vcs

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

4 participants