Skip to content

animation does not work on projected plots #1086

Closed
@doutriaux1

Description

@doutriaux1
import cdms2,vcs,os

f=cdms2.open(os.path.join(vcs.sample_data,"clt.nc"))

print f.variables.keys()

ice = f("clt",latitude=(90,30))
print ice.shape

x=vcs.init()

gm = x.createisofill()

levs = vcs.mkscale(ice.min(),ice.max())
cols=vcs.getcolors(levs)

gm.levels= levs
gm.fillareacolors = cols
gm.projection="polar"
x.plot(ice,gm)

x.animate.create()

import time
time.sleep(1)
print "Creating"

x.animate.save("ice.mp4")

print x.close(preserve_pngs=True)

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions