Re: res@cnLevels

From: David Brown <dbrown_at_nyahnyahspammersnyahnyah>
Date: Fri Nov 18 2011 - 14:11:05 MST

Perhaps you have previously assigned res@cnLevels to a variable of another type such as integer. In that case, NCL requires you to delete the attribute first, as in:
delete(res@cnLevels)
 -dave

On Nov 18, 2011, at 1:55 PM, Xiaoyan Ma wrote:

> Hi
>
> I made a contour plot of a variable, with the range [0,1], so I set
>
> res@cnLevels = (/0.1,0.2,0.3,0.4,0.5,0.6,0.7,0.8,0.9/)
>
> but it failed and showing "fatal:Attribute assignment type mismatch" and error occurred at this line.
> anybody tell me what is wrong?
>
> Thanks,
> Xiaoyan
> _______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Fri Nov 18 14:11:13 2011

This archive was generated by hypermail 2.1.8 : Tue Nov 22 2011 - 14:17:52 MST