[ncl-talk] Country Boundaries and Black color.
Kyle Griffin
ksgriffin2 at wisc.edu
Wed Sep 17 08:25:23 MDT 2014
You ran out of colors in your defined list, hence a black color is used and
the list is then repeated. If you wish this to not happen, make sure your
number of colors and number of levels that will be shaded match.
----------------------------------------
Kyle S. Griffin
Department of Atmospheric and Oceanic Sciences
University of Wisconsin - Madison
Room 1421
1225 W Dayton St, Madison, WI 53706
Email: ksgriffin2 at wisc.edu
On Wed, Sep 17, 2014 at 5:04 AM, Geeta Geeta <geetag54 at yahoo.com> wrote:
> I posted this problem a few minutes ago. I have a few questions pertaining
> to that.
> I want to know why the NEPAL, Pakistan etc countries are not marked in
> Blue Color. the Figure is attached and the Mp resources used are shown
> below.
> ;---------------------------
> ;Map resouces------------------
> res at mpFillOn = False
> ;res at mpOutlineOn = True
> res at mpOutlineBoundarySets = "National"
> res at mpGeophysicalLineColor = "Blue" ;Color of Conuntry Outline
> res at mpGeophysicalLineThicknessF = 1.5 ;thickness of Country Outline
> res at mpMinLonF=50
> res at mpMaxLonF=120
> res at mpMinLatF=5
> res at mpMaxLatF=35
> ;
>
> The second question. I have not selected the BLACK color for surfaceRain
> greater than 30mm/hr. How NCL is selecting the colors???.
> My color scheme can be seen in the attached script. Color section of the
> script looks like..............
> ;-------------------------------
> xwks=gsn_open_wks("ps",fili+var_name)
> colors =(/"white","black","white","royal blue","yellow","red"/)
> gsn_define_colormap(xwks,colors)
> ;
> This figure on Website can be seen on the link(
> ftp://disc2.nascom.nasa.gov/ftp/data/s4pa/TRMM_L2/2A12_BR.6/2009/135/2A12_BR.090515.65505.6.PNG
> )
>
> I am trying to reproduce this figure in the same form.
>
> Hope somebody will suggest. I am very new to NCL.
> Geeta.
>
> _______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20140917/238d61a1/attachment.html
More information about the ncl-talk
mailing list