Re: Problem contouring data

From: Álvaro M. Valdebenito B. <alvaro.valdebenito_at_nyahnyahspammersnyahnyah>
Date: Thu, 19 Mar 2009 15:35:25 +0100

Hi Jeff,

try this:
   res_at_cnLevelSelectionMode = "ExplicitLevels"
   res_at_cnLevels = ispan(1,13,1)

I hope it helps,
Álvaro.

Jeff Van Dorn wrote:
> Hello,
>
> I'm hoping someone can help me out as I'm having problems getting
> contours/colors to show up on my map when I specify:
> res_at_cnLevelSelectionMode = "ManualLevels".
>
> When I plot the area I'm interested in with res_at_cnLevelSelectionMode
> = "AutomaticLevels" I get the following:
> http://temagami.tosm.ttu.edu/~jvandorn/ncl/IA.3_model.tavg.annual.
> 2025.automatic.gif
>
> Which does show a range of temperature changes from about 2.48 to
> 2.96 degrees F.
>
> However, when I change the resources to:
> res_at_cnLevelSelectionMode = "ManualLevels"
> res_at_cnMinLevelValF = 1
> res_at_cnMaxLevelValF = 13
> res_at_cnLevelSpacingF = 1
>
> I get the following:
> http://temagami.tosm.ttu.edu/~jvandorn/ncl/IA.3_model.tavg.annual.
> 2025.manual.gif
>
> Which shows no colors at all, when I'd expect it so show the single
> yellow color between 2 and 3 for the entire map. Unfortunately I do
> need the min/max settings to be 1/13 respectively, so I can't rely on
> the AutomaticLevels for the contours, as I need one constant
> temperature scale to correspond to several maps (other maps not
> shown, but the range for all maps I need to produce go from 1 to 13).
>
> I'm at a loss as to what to modify to get the colors/contours to show
> up, and will try anything suggested. I've put my script code at:
> http://temagami.tosm.ttu.edu/~jvandorn/ncl/IA.3_model.tavg.annual.
> 2025.manual.gif
>
> As well as the data (26MB): http://temagami.tosm.ttu.edu/~jvandorn/
> ncl/debugData.nc
>
> I'm hoping there's something basic that I'm doing wrong or an easy
> solution. I'm using NCL 5.1.0.
>
> Thanks for any help.
> Jeff
> _______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk

-- 
Álvaro M. Valdebenito B.                      alvaro.valdebenito_at_met.no
Air Pollution Section/Research Department     Tel. +47-2296 3397
Norwegian Meteorological Institute            http:\\www.met.no
P.O. Box 43 Blindern, 0313 Oslo, NORWAY       http:\\www.emep.int/CWF
_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Thu Mar 19 2009 - 08:35:25 MDT

This archive was generated by hypermail 2.2.0 : Fri Mar 20 2009 - 10:31:51 MDT