[ncl-talk] Contour fill doesn't work...

S Br sbr.climate at gmail.com
Thu Apr 25 03:15:46 MDT 2019


Hi Barry,
Thanks for your suggestion. Please find here attached the map. It does plot
the contour but couldn't fill with colours.

Best,
S.

On Thu, Apr 25, 2019 at 10:11 AM Barry Lynn <barry.h.lynn at gmail.com> wrote:

> Hi:
>
> Could you please provide the map it is producing.
>
> Also you should check the min and max of your data.
>
> printMinMax(Var_name,False)
>
> and see if they make sense.
>
> Thank you
>
> On Thu, Apr 25, 2019 at 11:52 AM S Br <sbr.climate at gmail.com> wrote:
>
>> Dear User,
>> I am writing a simple script to see the contours filled with colour
>> (res at cnFillOn = True) but it doesn't show any colours. It shows only the
>> contours and colour bar.  What could be the probable region?
>> I am using NCL V 6.4.0
>> My Linux version is:
>> Linux tree17sbr 4.15.0-47-generic #50-Ubuntu SMP Wed Mar 13 10:44:52 UTC
>> 2019 x86_64 x86_64 x86_64 GNU/Linux
>>
>> Thanks.
>> S
>>
>> begin
>>
>>   in1 = addfile("precip.gpcp.mon.mean.nc","r")
>>   ann1=in1->precip(0,:,:)
>> ;************************************
>> ;create plot
>> ;************************************
>>   wks = gsn_open_wks("png","test")             ; send graphics to PNG file
>>   res                     = True
>>   res at cnFillOn            = True             ; turn on color
>>   plot = gsn_csm_contour_map(wks,ann1,res)
>>
>> end
>> _______________________________________________
>> ncl-talk mailing list
>> ncl-talk at ucar.edu
>> List instructions, subscriber options, unsubscribe:
>> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>>
>
>
> --
> Barry H. Lynn, Ph.D
> Senior Associate Scientist, Lecturer,
> The Institute of the Earth Science,
> The Hebrew University of Jerusalem,
> Givat Ram, Jerusalem 91904, Israel
> Tel: 972 547 231 170
> Fax: (972)-25662581
>
> C.E.O, Weather It Is, LTD
> Weather and Climate Focus
> http://weather-it-is.com
> Jerusalem, Israel
> Local: 02 930 9525
> Cell: 054 7 231 170
> Int-IS: x972 2 930 9525
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20190425/37e52086/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: precip.png
Type: image/png
Size: 164738 bytes
Desc: not available
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20190425/37e52086/attachment.png>


More information about the ncl-talk mailing list