import vcs
import cdms2
import os
f=cdms2.open(os.path.join(vcs.sample_data,"clt.nc"))
s=f("clt")
print s.getLongitude()
x=vcs.init()
gm = x.createisofill()
gm.fillareastyle= "pattern"
levels = range(0,110,10)
cols = vcs.getcolors(levels)
gm.fillareacolors = cols
gm.levels = levels
gm.fillareaindices = range(1,12)
gm.datawc_x1 = 0.
gm.datawc_x2 = 360.
x.plot(s,gm)
x.png("pattern_wrapped")
