Skip to content

VTK not mapping? #871

@doutriaux1

Description

@doutriaux1

In case of multiple mappers only the last one seems to be drawn, might be same issue as #855
data can be found at:

https://github.com/doutriaux1/VTKLearning/blob/master/uvcdat_bugs/charles.nc

Code:

import cdms2,vcs,os,sys,numpy
x=vcs.init()
b=x.createboxfill()
b.levels=numpy.arange(.5,15.5).tolist()
cols = vcs.getcolors(b.levels)
b.fillareacolors=cols
b.boxfill_type="custom"
pth= os.path.dirname(__file__)
f=cdms2.open(os.path.join(pth,"charles.nc"))
s=f("data2") 
x.plot(s,b)
x.png("lastmapper")
raw_input("Press enter")

png

lastmapper

w/o specification of levels we cansee there is data everywhere
lastmapper

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions