Hi,
Currently you can't create contours of a constant field. We have it on our list for the next release of NCL to add a contour resource that allows you to do this.
Meanwhile, a possible work-around is to set all your missing values to some single value, so now you have two values to contour.
You can then set a single contour level that falls somewhere between the two values in your field.
See the "conLev_4.ncl" example at:
http://www.ncl.ucar.edu/Applications/contourLev.shtml
--Mary
On May 6, 2013, at 4:59 AM, jayasankar C B wrote:
> Dear sir/madam
>
> I have a Global mask data set of 2 X 2 degree. It only has constant values 100. elsewhere undefined values. I want to plot that mask data for specific region with raster fill (grid fill). when i am trying to plot that
>
> warning:ContourPlotInitialize: scalar field is constant; ContourPlot not possible:[errno=1102]
>
> how can I plot that... please Give me the way..
> Thanking you..
> --
> Jayasankar C B
> _______________________________________________
> 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 Mon May 6 09:01:39 2013
This archive was generated by hypermail 2.1.8 : Tue May 07 2013 - 08:38:33 MDT