Closed
Description
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)