Re: gsn_contour problem with data falling in same range

From: Vaibhav Saxena <saxena.vaibhav_at_nyahnyahspammersnyahnyah>
Date: Mon Apr 28 2014 - 00:02:42 MDT

Hi Adam,

Sorry for the long silence. The settings mentioned in your last email
worked. The boundaries between the two contours were not very sharp after
setting these parameters but at least I don't get white image and contours
are plotted.

Thanks,
- Vaibhav

On Mon, Feb 17, 2014 at 11:00 PM, Adam Phillips <asphilli@ucar.edu> wrote:

> Hi Vaibhav,
> See this previous ncl-talk posting:
> http://www.ncl.ucar.edu/Support/talk_archives/2009/0460.html
> in short, try setting cnFillMode = "RasterFill"
>
> If that fix does not work please respond to ncl-talk..
> Adam
>
> On Feb 16, 2014, at 23:31, Vaibhav Saxena <saxena.vaibhav@gmail.com>
> wrote:
>
> Hi All,
>
> I am trying to plot the contours for the parameter T2 (Temp at 2m) in WRF
> output file using the gsn_contour function. I wanted to set the countours
> levels explicitly so I used the "cnLevelSelectionMode" resource and set it
> to "ExplicitLevels". Then I specified my contour levels as "opts@cnLevels= (/10,20,25,26,27,27.5,28,29,30,35/)". The problem which I am facing is
> that when all the data values fall in one range (say 10 - 20 or 28 - 29),
> I get a white image and my contours are not plotted. I checked the data
> values and found that they are not constant but they fall in the same
> range. I neither get any error nor any warning. What do I do to avoid this
> and get a contour (which will be obviously of one color depending upon the
> range the data values fall into)?
>
> Thanks,
> - Vaibhav
>
> --
> email: saxena.vaibhav@gmail.com
>
> _______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>
>

-- 
email: saxena.vaibhav@gmail.com

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Mon Apr 28 00:02:57 2014

This archive was generated by hypermail 2.1.8 : Tue Apr 29 2014 - 09:04:20 MDT