<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style type="text/css" style="display:none"><!-- p { margin-top: 0px; margin-bottom: 0px; }--></style>
</head>
<body dir="ltr" style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:'Times New Roman',Times,serif;">
<p>Dear Barry,<br>
</p>
<p><br>
</p>
<p>I've tried your code and it still produced the output without any colors (see attached file).<br>
</p>
<p><br>
</p>
<div id="Signature">
<div name="divtagdefaultwrapper" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:; margin:0">
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; text-align:left"><font face="Times New Roman, Times, serif">Kind Regards,</font><span style="font-family:Calibri,Arial,Helvetica,sans-serif"> </span></div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; text-align:left"><span style="font-family:Calibri,Arial,Helvetica,sans-serif"><br>
</span></div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; text-align:left"><font face="Times New Roman, Times, serif" color="#3366ff"><b style=""><i style="">Arifin Yussof</i></b></font></div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; text-align:left"><font face="Times New Roman, Times, serif"><i>Meteorological Officer</i></font></div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; text-align:left"><font face="Times New Roman, Times, serif"><i>Officer in Digital Product Support and Numerical Weather Prediction (DSNP),</i></font></div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; text-align:left"><font face="Times New Roman, Times, serif"><i>Strategy and </i></font><i style="font-family:"Times New Roman",Times,serif">Development </i><i style="font-family:"Times New Roman",Times,serif">Division,</i></div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; text-align:left"><font face="Times New Roman, Times, serif" style="background-color:rgb(255,255,255)"><i>Brunei Darussalam Meteorological Department, </i></font><i style="font-family:"Times New Roman",Times,serif">Ministry
of Transport and Infocommunications</i></div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; text-align:left"><font face="Times New Roman, Times, serif"><i><br>
</i></font></div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; text-align:left"><font face="Times New Roman, Times, serif"><b><i>Address: </i></b></font><i style="font-family:"Times New Roman",Times,serif">Block B23, Anggerek Desa Flat , </i><i style="font-family:"Times New Roman",Times,serif">Simpang
32-37, </i><i style="font-family:"Times New Roman",Times,serif">Kampung Anggerek Desa, </i><i style="font-family:"Times New Roman",Times,serif">Brunei Darussalam BB3713</i></div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; text-align:left"><br>
</div>
<div style="text-align:left"><font face="Times New Roman, Times, serif" style="">Telephone number: (+673)
<b>2381342 ext 233</b> - Website:</font><font face="Times New Roman, Times, serif" style="font-family:Calibri,Arial,Helvetica,sans-serif"> </font><a tabindex="0" href="http://www.met.gov.bn" target="_blank" style="font-family:Calibri,Arial,Helvetica,sans-serif" id="NoLP"><font face="Times New Roman, Times, serif">http://www.met.gov.bn</font></a> -<font face="Times New Roman, Times, serif" style="font-family:Calibri,Arial,Helvetica,sans-serif"> </font><span style="font-family:"Times New Roman",Times,serif">Instagram/Facebook:
</span><b style="font-family:"Times New Roman",Times,serif">@bruneiweather </b><span style="font-family:"Times New Roman",Times,serif">- Mobile App:
<b style="">Brunei WX</b> </span></div>
<div style="text-align:left"><span style="font-family:"Times New Roman",Times,serif; font-size:small"><br>
</span></div>
<div style="text-align:left"><span style="font-family:"Times New Roman",Times,serif"><font color="#00ccff" size="5"><b style=""><i style="">Helping you understand weather better</i></b></font></span></div>
</div>
</div>
<div style="color: rgb(33, 33, 33);">
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> Barry Lynn <barry.h.lynn@gmail.com><br>
<b>Sent:</b> 24 June 2020 9:22 PM<br>
<b>To:</b> Mohd Noor'Arifin Bin Hj Yussof<br>
<b>Cc:</b> ncl-talk@ucar.edu<br>
<b>Subject:</b> Re: [ncl-talk] Plot showing No Color</font>
<div> </div>
</div>
<div>
<div dir="ltr">Hi:
<div><br>
</div>
<div>Please try:</div>
<div><br>
</div>
<div>Output is to pdf file (attached)</div>
<div><br>
</div>
<div>begin</div>
<div>
<p class="gmail-p1" style="margin:0px; font-size:21px; line-height:normal; font-family:"Courier New"; color:rgb(0,0,0); min-height:23px">
<span class="gmail-s1" style=""></span><br>
</p>
<p class="gmail-p2" style="margin:0px; font-size:21px; line-height:normal; font-family:"Courier New"; color:rgb(0,0,0)">
<span class="gmail-s1" style="">a = addfile("./<a href="http://geo_em.d01.nc">geo_em.d01.nc</a>","r") ; Open a file</span></p>
<p class="gmail-p1" style="margin:0px; font-size:21px; line-height:normal; font-family:"Courier New"; color:rgb(0,0,0); min-height:23px">
<span class="gmail-s1" style=""></span><br>
</p>
<p class="gmail-p2" style="margin:0px; font-size:21px; line-height:normal; font-family:"Courier New"; color:rgb(0,0,0)">
<span class="gmail-s1" style="">;type = "x11"</span></p>
<p class="gmail-p2" style="margin:0px; font-size:21px; line-height:normal; font-family:"Courier New"; color:rgb(0,0,0)">
<span class="gmail-s1" style=""><span class="gmail-Apple-converted-space"> </span>
type = "pdf"</span></p>
<p class="gmail-p2" style="margin:0px; font-size:21px; line-height:normal; font-family:"Courier New"; color:rgb(0,0,0)">
<span class="gmail-s1" style="">; type = "ps"</span></p>
<p class="gmail-p2" style="margin:0px; font-size:21px; line-height:normal; font-family:"Courier New"; color:rgb(0,0,0)">
<span class="gmail-s1" style="">; type = "ncgm"</span></p>
<p class="gmail-p2" style="margin:0px; font-size:21px; line-height:normal; font-family:"Courier New"; color:rgb(0,0,0)">
<span class="gmail-s1" style="">wks = gsn_open_wks(type,"plt_geo_2") ; Create a plot workstation</span></p>
<p class="gmail-p2" style="margin:0px; font-size:21px; line-height:normal; font-family:"Courier New"; color:rgb(0,0,0)">
<span class="gmail-s1" style="">ter = a->HGT_M(0,:,:) ; Read the variable to memory</span></p>
<p class="gmail-p2" style="margin:0px; font-size:21px; line-height:normal; font-family:"Courier New"; color:rgb(0,0,0)">
<span class="gmail-s1" style="">res = True ; Create some plot resources</span></p>
<p class="gmail-p2" style="margin:0px; font-size:21px; line-height:normal; font-family:"Courier New"; color:rgb(0,0,0)">
<span class="gmail-s1" style="">res@cnFillOn = True ; Create a color fill plot</span></p>
<p class="gmail-p2" style="margin:0px; font-size:21px; line-height:normal; font-family:"Courier New"; color:rgb(0,0,0)">
<span class="gmail-s1" style="">res@gsnSpreadColors = True</span></p>
<p class="gmail-p2" style="margin:0px; font-size:21px; line-height:normal; font-family:"Courier New"; color:rgb(0,0,0)">
<span class="gmail-s1" style="">plot = gsn_contour(wks,ter,res) ; Create plot</span></p>
<p class="gmail-p2" style="margin:0px; font-size:21px; line-height:normal; font-family:"Courier New"; color:rgb(0,0,0)">
<span class="gmail-s1" style="">end</span></p>
</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Wed, Jun 24, 2020 at 4:11 PM Mohd Noor'Arifin Bin Hj Yussof <<a href="mailto:arifin.yussof@met.gov.bn" target="_blank">arifin.yussof@met.gov.bn</a>> wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex; border-left:1px solid rgb(204,204,204); padding-left:1ex">
<div dir="ltr" style="font-size:12pt; color:rgb(0,0,0); background-color:rgb(255,255,255); font-family:"Times New Roman",Times,serif">
<p>Dear Barry,<br>
</p>
<p><br>
</p>
<p>Yes there was an output from after I have entered the command (attached in this e-mail). <br>
</p>
<p><br>
</p>
<p>As you can see, the contours are there but there's no color fill on them when there should be color filled.<br>
</p>
<p><br>
</p>
<p>This is similar when I run other scripts like to produce precipitation maps - no color fill as well....<br>
</p>
<p><br>
</p>
<div id="gmail-m_2109843845174766212gmail-m_4167027955473249173Signature">
<div name="divtagdefaultwrapper">
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; text-align:left"><font face="Times New Roman, Times, serif">Kind Regards,</font><span style="font-family:Calibri,Arial,Helvetica,sans-serif"> </span></div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; text-align:left"><span style="font-family:Calibri,Arial,Helvetica,sans-serif"><br>
</span></div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; text-align:left"><font face="Times New Roman, Times, serif" color="#3366ff"><b><i>Arifin Yussof</i></b></font></div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; text-align:left"><font face="Times New Roman, Times, serif"><i>Meteorological Officer</i></font></div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; text-align:left"><font face="Times New Roman, Times, serif"><i>Officer in Digital Product Support and Numerical Weather Prediction (DSNP),</i></font></div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; text-align:left"><font face="Times New Roman, Times, serif"><i>Strategy and </i></font><i style="font-family:"Times New Roman",Times,serif">Development </i><i style="font-family:"Times New Roman",Times,serif">Division,</i></div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; text-align:left"><font face="Times New Roman, Times, serif" style="background-color:rgb(255,255,255)"><i>Brunei Darussalam Meteorological Department, </i></font><i style="font-family:"Times New Roman",Times,serif">Ministry
of Transport and Infocommunications</i></div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; text-align:left"><font face="Times New Roman, Times, serif"><i><br>
</i></font></div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; text-align:left"><font face="Times New Roman, Times, serif"><b><i>Address: </i></b></font><i style="font-family:"Times New Roman",Times,serif">Block B23, Anggerek Desa Flat , </i><i style="font-family:"Times New Roman",Times,serif">Simpang
32-37, </i><i style="font-family:"Times New Roman",Times,serif">Kampung Anggerek Desa, </i><i style="font-family:"Times New Roman",Times,serif">Brunei Darussalam BB3713</i></div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; text-align:left"><br>
</div>
<div style="text-align:left"><font face="Times New Roman, Times, serif">Telephone number: (+673)
<b>2381342 ext 233</b> - Website:</font><font face="Times New Roman, Times, serif" style="font-family:Calibri,Arial,Helvetica,sans-serif"> </font><a href="http://www.met.gov.bn" id="gmail-m_2109843845174766212gmail-m_4167027955473249173NoLP" target="_blank" style="font-family:Calibri,Arial,Helvetica,sans-serif"><font face="Times New Roman, Times, serif">http://www.met.gov.bn</font></a> -<font face="Times New Roman, Times, serif" style="font-family:Calibri,Arial,Helvetica,sans-serif"> </font><span style="font-family:"Times New Roman",Times,serif">Instagram/Facebook:
</span><b style="font-family:"Times New Roman",Times,serif">@bruneiweather </b><span style="font-family:"Times New Roman",Times,serif">- Mobile App:
<b>Brunei WX</b> </span></div>
<div style="text-align:left"><span style="font-family:"Times New Roman",Times,serif; font-size:small"><br>
</span></div>
<div style="text-align:left"><span style="font-family:"Times New Roman",Times,serif"><font color="#00ccff" size="5"><b><i>Helping you understand weather better</i></b></font></span></div>
</div>
</div>
<div style="color:rgb(33,33,33)">
<hr style="display:inline-block; width:98%">
<div id="gmail-m_2109843845174766212gmail-m_4167027955473249173divRplyFwdMsg" dir="ltr">
<font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> Barry Lynn <<a href="mailto:barry.h.lynn@gmail.com" target="_blank">barry.h.lynn@gmail.com</a>><br>
<b>Sent:</b> 24 June 2020 9:08 PM<br>
<b>To:</b> Mohd Noor'Arifin Bin Hj Yussof<br>
<b>Cc:</b> <a href="mailto:ncl-talk@ucar.edu" target="_blank">ncl-talk@ucar.edu</a><br>
<b>Subject:</b> Re: [ncl-talk] Plot showing No Color</font>
<div> </div>
</div>
<div>
<div dir="ltr">Hi:
<div><br>
</div>
<div>I am asking if there is any screen output while the scheme is running.</div>
<div><br>
</div>
<div>Thanks</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Wed, Jun 24, 2020 at 4:02 PM Mohd Noor'Arifin Bin Hj Yussof <<a href="mailto:arifin.yussof@met.gov.bn" target="_blank">arifin.yussof@met.gov.bn</a>> wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex; border-left:1px solid rgb(204,204,204); padding-left:1ex">
<div dir="ltr" style="font-size:12pt; color:rgb(0,0,0); background-color:rgb(255,255,255); font-family:"Times New Roman",Times,serif">
<p>Dear Barry,<br>
</p>
<p><br>
</p>
<p>Yes I have attached both the command I used and the output of the file in the previous e-mail. <br>
</p>
<p><br>
</p>
<div id="gmail-m_2109843845174766212gmail-m_4167027955473249173gmail-m_6291903547708613557Signature">
<div name="divtagdefaultwrapper">
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; text-align:left"><font face="Times New Roman, Times, serif">Kind Regards,</font><span style="font-family:Calibri,Arial,Helvetica,sans-serif"> </span></div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; text-align:left"><span style="font-family:Calibri,Arial,Helvetica,sans-serif"><br>
</span></div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; text-align:left"><font face="Times New Roman, Times, serif" color="#3366ff"><b><i>Arifin Yussof</i></b></font></div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; text-align:left"><font face="Times New Roman, Times, serif"><i>Meteorological Officer</i></font></div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; text-align:left"><font face="Times New Roman, Times, serif"><i>Officer in Digital Product Support and Numerical Weather Prediction (DSNP),</i></font></div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; text-align:left"><font face="Times New Roman, Times, serif"><i>Strategy and </i></font><i style="font-family:"Times New Roman",Times,serif">Development </i><i style="font-family:"Times New Roman",Times,serif">Division,</i></div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; text-align:left"><font face="Times New Roman, Times, serif" style="background-color:rgb(255,255,255)"><i>Brunei Darussalam Meteorological Department, </i></font><i style="font-family:"Times New Roman",Times,serif">Ministry
of Transport and Infocommunications</i></div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; text-align:left"><font face="Times New Roman, Times, serif"><i><br>
</i></font></div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; text-align:left"><font face="Times New Roman, Times, serif"><b><i>Address: </i></b></font><i style="font-family:"Times New Roman",Times,serif">Block B23, Anggerek Desa Flat , </i><i style="font-family:"Times New Roman",Times,serif">Simpang
32-37, </i><i style="font-family:"Times New Roman",Times,serif">Kampung Anggerek Desa, </i><i style="font-family:"Times New Roman",Times,serif">Brunei Darussalam BB3713</i></div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; text-align:left"><br>
</div>
<div style="text-align:left"><font face="Times New Roman, Times, serif">Telephone number: (+673)
<b>2381342 ext 233</b> - Website:</font><font face="Times New Roman, Times, serif" style="font-family:Calibri,Arial,Helvetica,sans-serif"> </font><a href="http://www.met.gov.bn" id="gmail-m_2109843845174766212gmail-m_4167027955473249173gmail-m_6291903547708613557NoLP" target="_blank" style="font-family:Calibri,Arial,Helvetica,sans-serif"><font face="Times New Roman, Times, serif">http://www.met.gov.bn</font></a> -<font face="Times New Roman, Times, serif" style="font-family:Calibri,Arial,Helvetica,sans-serif"> </font><span style="font-family:"Times New Roman",Times,serif">Instagram/Facebook:
</span><b style="font-family:"Times New Roman",Times,serif">@bruneiweather </b><span style="font-family:"Times New Roman",Times,serif">- Mobile App:
<b>Brunei WX</b> </span></div>
<div style="text-align:left"><span style="font-family:"Times New Roman",Times,serif; font-size:small"><br>
</span></div>
<div style="text-align:left"><span style="font-family:"Times New Roman",Times,serif"><font color="#00ccff" size="5"><b><i>Helping you understand weather better</i></b></font></span></div>
</div>
</div>
<div style="color:rgb(33,33,33)">
<hr style="display:inline-block; width:98%">
<div id="gmail-m_2109843845174766212gmail-m_4167027955473249173gmail-m_6291903547708613557divRplyFwdMsg" dir="ltr">
<font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> Barry Lynn <<a href="mailto:barry.h.lynn@gmail.com" target="_blank">barry.h.lynn@gmail.com</a>><br>
<b>Sent:</b> 24 June 2020 8:40 PM<br>
<b>To:</b> Mohd Noor'Arifin Bin Hj Yussof<br>
<b>Cc:</b> <a href="mailto:ncl-talk@ucar.edu" target="_blank">ncl-talk@ucar.edu</a><br>
<b>Subject:</b> Re: [ncl-talk] Plot showing No Color</font>
<div> </div>
</div>
<div>
<div dir="ltr">Hi:
<div><br>
</div>
<div>Did you attach both the command you used and the output from the file?</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Wed, Jun 24, 2020 at 3:27 PM Mohd Noor'Arifin Bin Hj Yussof <<a href="mailto:arifin.yussof@met.gov.bn" target="_blank">arifin.yussof@met.gov.bn</a>> wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex; border-left:1px solid rgb(204,204,204); padding-left:1ex">
<div dir="ltr" style="font-size:12pt; color:rgb(0,0,0); background-color:rgb(255,255,255); font-family:"Times New Roman",Times,serif">
<p>Dear Barry,<br>
</p>
<p><br>
</p>
<p>Thank you so much for reply.<br>
</p>
<p><br>
</p>
<p>I've attached two files:<br>
</p>
<p><br>
</p>
<p>1. terminal_output - what I've entered in the terminal and the output<br>
</p>
<p><br>
</p>
<p>2. script_output - what popped up when I tried to run the script<br>
</p>
<p><br>
</p>
<p>Please let me know if you need any other information. <br>
</p>
<p><br>
</p>
<div id="gmail-m_2109843845174766212gmail-m_4167027955473249173gmail-m_6291903547708613557gmail-m_-6346216436845801251Signature">
<div name="divtagdefaultwrapper">
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; text-align:left"><font face="Times New Roman, Times, serif">Kind Regards,</font><span style="font-family:Calibri,Arial,Helvetica,sans-serif"> </span></div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; text-align:left"><span style="font-family:Calibri,Arial,Helvetica,sans-serif"><br>
</span></div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; text-align:left"><font face="Times New Roman, Times, serif" color="#3366ff"><b><i>Arifin Yussof</i></b></font></div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; text-align:left"><font face="Times New Roman, Times, serif"><i>Meteorological Officer</i></font></div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; text-align:left"><font face="Times New Roman, Times, serif"><i>Officer in Digital Product Support and Numerical Weather Prediction (DSNP),</i></font></div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; text-align:left"><font face="Times New Roman, Times, serif"><i>Strategy and </i></font><i style="font-family:"Times New Roman",Times,serif">Development </i><i style="font-family:"Times New Roman",Times,serif">Division,</i></div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; text-align:left"><font face="Times New Roman, Times, serif" style="background-color:rgb(255,255,255)"><i>Brunei Darussalam Meteorological Department, </i></font><i style="font-family:"Times New Roman",Times,serif">Ministry
of Transport and Infocommunications</i></div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; text-align:left"><font face="Times New Roman, Times, serif"><i><br>
</i></font></div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; text-align:left"><font face="Times New Roman, Times, serif"><b><i>Address: </i></b></font><i style="font-family:"Times New Roman",Times,serif">Block B23, Anggerek Desa Flat , </i><i style="font-family:"Times New Roman",Times,serif">Simpang
32-37, </i><i style="font-family:"Times New Roman",Times,serif">Kampung Anggerek Desa, </i><i style="font-family:"Times New Roman",Times,serif">Brunei Darussalam BB3713</i></div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; text-align:left"><br>
</div>
<div style="text-align:left"><font face="Times New Roman, Times, serif">Telephone number: (+673)
<b>2381342 ext 233</b> - Website:</font><font face="Times New Roman, Times, serif" style="font-family:Calibri,Arial,Helvetica,sans-serif"> </font><a href="http://www.met.gov.bn" id="gmail-m_2109843845174766212gmail-m_4167027955473249173gmail-m_6291903547708613557gmail-m_-6346216436845801251NoLP" target="_blank" style="font-family:Calibri,Arial,Helvetica,sans-serif"><font face="Times New Roman, Times, serif">http://www.met.gov.bn</font></a> -<font face="Times New Roman, Times, serif" style="font-family:Calibri,Arial,Helvetica,sans-serif"> </font><span style="font-family:"Times New Roman",Times,serif">Instagram/Facebook:
</span><b style="font-family:"Times New Roman",Times,serif">@bruneiweather </b><span style="font-family:"Times New Roman",Times,serif">- Mobile App:
<b>Brunei WX</b> </span></div>
<div style="text-align:left"><span style="font-family:"Times New Roman",Times,serif; font-size:small"><br>
</span></div>
<div style="text-align:left"><span style="font-family:"Times New Roman",Times,serif"><font color="#00ccff" size="5"><b><i>Helping you understand weather better</i></b></font></span></div>
</div>
</div>
<div style="color:rgb(33,33,33)">
<hr style="display:inline-block; width:98%">
<div id="gmail-m_2109843845174766212gmail-m_4167027955473249173gmail-m_6291903547708613557gmail-m_-6346216436845801251divRplyFwdMsg" dir="ltr">
<font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> Barry Lynn <<a href="mailto:barry.h.lynn@gmail.com" target="_blank">barry.h.lynn@gmail.com</a>><br>
<b>Sent:</b> 24 June 2020 7:24 PM<br>
<b>To:</b> Mohd Noor'Arifin Bin Hj Yussof<br>
<b>Cc:</b> <a href="mailto:ncl-talk@ucar.edu" target="_blank">ncl-talk@ucar.edu</a><br>
<b>Subject:</b> Re: [ncl-talk] Plot showing No Color</font>
<div> </div>
</div>
<div>
<div dir="ltr">Hello:
<div><br>
</div>
<div>Can you please attach the screen output? Perhaps you are missing a file that is needed to set colors.</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Wed, Jun 24, 2020 at 1:26 PM Mohd Noor'Arifin Bin Hj Yussof via ncl-talk <<a href="mailto:ncl-talk@mailman.ucar.edu" target="_blank">ncl-talk@mailman.ucar.edu</a>> wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex; border-left:1px solid rgb(204,204,204); padding-left:1ex">
<div dir="ltr" style="font-size:12pt; color:rgb(0,0,0); background-color:rgb(255,255,255); font-family:"Times New Roman",Times,serif">
<p><span style="font-size:12pt">Dear NCL,</span><br>
</p>
<div dir="ltr" style="font-size:12pt; color:rgb(0,0,0); background-color:rgb(255,255,255); font-family:"Times New Roman",Times,serif">
<div>
<p><br>
</p>
<p>I have a problem where my plots are not showing any fill color at all. <br>
</p>
<p><br>
</p>
<p>Could you please guide me on how I could activate the contour fill colors? <br>
</p>
<p><br>
</p>
<p>I tested using WRF data with the sample script below and yet no colors showed on my plot.<br>
</p>
<p><br>
</p>
; Example script - plot terrain (using only basic NCL functions)<br>
; Note no map background info is available<br>
; November 2008<br>
load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl"<br>
begin<br>
a = addfile("./<a href="http://geo_em.d01.nc" target="_blank">geo_em.d01.nc</a>","r") ; Open a file<br>
<br>
type = "x11"<br>
; type = "pdf"<br>
; type = "ps"<br>
; type = "ncgm"<br>
wks = gsn_open_wks(type,"plt_geo_2") ; Create a plot workstation<br>
<br>
ter = a->HGT_M(0,:,:) ; Read the variable to memory<br>
res = True ; Create some plot resources<br>
res@cnFillOn = True ; Create a color fill plot<br>
res@gsnSpreadColors = True<br>
plot = gsn_contour(wks,ter,res) ; Create plot<br>
end
<p><br>
</p>
<p>Output image below:<br>
</p>
<p><br>
</p>
<p><img name="m_2109843845174766212_m_4167027955473249173_m_6291903547708613557_m_-6346216436845801251_m_5637207775009369885_null" title="pastedImage.png" src="cid:172e679949ff456b1e51"><br>
</p>
<p><br>
</p>
<div id="gmail-m_2109843845174766212gmail-m_4167027955473249173gmail-m_6291903547708613557gmail-m_-6346216436845801251gmail-m_5637207775009369885Signature">
<div name="divtagdefaultwrapper">
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; text-align:left"><font face="Times New Roman, Times, serif">Kind Regards,</font><span style="font-family:Calibri,Arial,Helvetica,sans-serif"> </span></div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; text-align:left"><span style="font-family:Calibri,Arial,Helvetica,sans-serif"><br>
</span></div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; text-align:left"><font face="Times New Roman, Times, serif" color="#3366ff"><b><i>Arifin Yussof</i></b></font></div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; text-align:left"><font face="Times New Roman, Times, serif"><i>Meteorological Officer</i></font></div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; text-align:left"><font face="Times New Roman, Times, serif"><i>Officer in Digital Product Support and Numerical Weather Prediction (DSNP),</i></font></div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; text-align:left"><font face="Times New Roman, Times, serif"><i>Strategy and </i></font><i style="font-family:"Times New Roman",Times,serif">Development </i><i style="font-family:"Times New Roman",Times,serif">Division,</i></div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; text-align:left"><font face="Times New Roman, Times, serif" style="background-color:rgb(255,255,255)"><i>Brunei Darussalam Meteorological Department, </i></font><i style="font-family:"Times New Roman",Times,serif">Ministry
of Transport and Infocommunications</i></div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; text-align:left"><font face="Times New Roman, Times, serif"><i><br>
</i></font></div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; text-align:left"><font face="Times New Roman, Times, serif"><b><i>Address: </i></b></font><i style="font-family:"Times New Roman",Times,serif">Block B23, Anggerek Desa Flat , </i><i style="font-family:"Times New Roman",Times,serif">Simpang
32-37, </i><i style="font-family:"Times New Roman",Times,serif">Kampung Anggerek Desa, </i><i style="font-family:"Times New Roman",Times,serif">Brunei Darussalam BB3713</i></div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; text-align:left"><br>
</div>
<div style="text-align:left"><font face="Times New Roman, Times, serif">Telephone number: (+673)
<b>2381342 ext 233</b> - Website:</font><font face="Times New Roman, Times, serif" style="font-family:Calibri,Arial,Helvetica,sans-serif"> </font><a href="http://www.met.gov.bn" id="gmail-m_2109843845174766212gmail-m_4167027955473249173gmail-m_6291903547708613557gmail-m_-6346216436845801251gmail-m_5637207775009369885NoLP" target="_blank" style="font-family:Calibri,Arial,Helvetica,sans-serif"><font face="Times New Roman, Times, serif">http://www.met.gov.bn</font></a> -<font face="Times New Roman, Times, serif" style="font-family:Calibri,Arial,Helvetica,sans-serif"> </font><span style="font-family:"Times New Roman",Times,serif">Instagram/Facebook:
</span><b style="font-family:"Times New Roman",Times,serif">@bruneiweather </b><span style="font-family:"Times New Roman",Times,serif">- Mobile App:
<b>Brunei WX</b> </span></div>
<div style="text-align:left"><span style="font-family:"Times New Roman",Times,serif; font-size:small"><br>
</span></div>
<div style="text-align:left"><span style="font-family:"Times New Roman",Times,serif"><font color="#00ccff" size="5"><b><i>Helping you understand weather better</i></b></font></span></div>
</div>
</div>
</div>
</div>
<br>
<br>
<br>
<hr>
<font size="1" face="calibri"><b>Privileged/Confidential</b> information may be contained in this message. If you are neither the intended recipient and have received this message in error, please delete this message and notify the sender immediately.
<b>Strict Prohibition: </b>This message if received in error, whether in part or in whole, should not be reviewed, retained, copied, reused, disclosed, distributed or used for any purpose whatsoever. Such unauthorised use may be unlawful and may contain material
protected by the Official Secrets Act (Cap 153) of the Laws of Brunei Darussalam.
<b>Disclaimer</b> The Government of His Majesty the Sultan and Yang Di-Pertuan of Brunei Darussalam accepts no responsibility for loss or damage arising from the use of this message. This message shall not operate to bind to any order or contract unless pursuant
to an explicit written agreement. </font><br>
<br>
<br>
</div>
_______________________________________________<br>
ncl-talk mailing list<br>
<a href="mailto:ncl-talk@mailman.ucar.edu" target="_blank">ncl-talk@mailman.ucar.edu</a><br>
List instructions, subscriber options, unsubscribe:<br>
<a href="https://mailman.ucar.edu/mailman/listinfo/ncl-talk" rel="noreferrer" target="_blank">https://mailman.ucar.edu/mailman/listinfo/ncl-talk</a></blockquote>
</div>
<br clear="all">
<div><br>
</div>
-- <br>
<div dir="ltr">
<div dir="ltr">
<div>
<div dir="ltr">Barry H. Lynn, Ph.D
<div>
<div>Senior Associate Scientist, Lecturer,</div>
<div>
<div><span style="color:rgb(136,136,136)">The Institute of the Earth Science, </span><br style="color:rgb(136,136,136)">
<span style="color:rgb(136,136,136)">The Hebrew University of Jerusalem, </span><br style="color:rgb(136,136,136)">
<span style="color:rgb(136,136,136)">Givat Ram, Jerusalem 91904, Israel </span><br style="color:rgb(136,136,136)">
</div>
<span style="color:rgb(136,136,136)">Tel: 972 547 231 170</span><br style="color:rgb(136,136,136)">
<span style="color:rgb(136,136,136)">Fax: (972)-25662581</span></div>
</div>
<div><span style="color:rgb(136,136,136)"><br>
</span></div>
<div>C.E.O, Weather It Is, LTD<br>
Weather and Climate Focus<br>
<a href="http://weather-it-is.com" target="_blank">http://weather-it-is.com</a><br>
Jerusalem, Israel<br>
Local: 02 930 9525<br>
Cell: 054 7 231 170<br>
Int-IS: x972 2 930 9525<br>
<br>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
<br clear="all">
<div><br>
</div>
-- <br>
<div dir="ltr">
<div dir="ltr">
<div>
<div dir="ltr">Barry H. Lynn, Ph.D
<div>
<div>Senior Associate Scientist, Lecturer,</div>
<div>
<div><span style="color:rgb(136,136,136)">The Institute of the Earth Science, </span><br style="color:rgb(136,136,136)">
<span style="color:rgb(136,136,136)">The Hebrew University of Jerusalem, </span><br style="color:rgb(136,136,136)">
<span style="color:rgb(136,136,136)">Givat Ram, Jerusalem 91904, Israel </span><br style="color:rgb(136,136,136)">
</div>
<span style="color:rgb(136,136,136)">Tel: 972 547 231 170</span><br style="color:rgb(136,136,136)">
<span style="color:rgb(136,136,136)">Fax: (972)-25662581</span></div>
</div>
<div><span style="color:rgb(136,136,136)"><br>
</span></div>
<div>C.E.O, Weather It Is, LTD<br>
Weather and Climate Focus<br>
<a href="http://weather-it-is.com" target="_blank">http://weather-it-is.com</a><br>
Jerusalem, Israel<br>
Local: 02 930 9525<br>
Cell: 054 7 231 170<br>
Int-IS: x972 2 930 9525<br>
<br>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
<br clear="all">
<div><br>
</div>
-- <br>
<div dir="ltr">
<div dir="ltr">
<div>
<div dir="ltr">Barry H. Lynn, Ph.D
<div>
<div>Senior Associate Scientist, Lecturer,</div>
<div>
<div><span style="color:rgb(136,136,136)">The Institute of the Earth Science, </span><br style="color:rgb(136,136,136)">
<span style="color:rgb(136,136,136)">The Hebrew University of Jerusalem, </span><br style="color:rgb(136,136,136)">
<span style="color:rgb(136,136,136)">Givat Ram, Jerusalem 91904, Israel </span><br style="color:rgb(136,136,136)">
</div>
<span style="color:rgb(136,136,136)">Tel: 972 547 231 170</span><br style="color:rgb(136,136,136)">
<span style="color:rgb(136,136,136)">Fax: (972)-25662581</span></div>
</div>
<div><span style="color:rgb(136,136,136)"><br>
</span></div>
<div>C.E.O, Weather It Is, LTD<br>
Weather and Climate Focus<br>
<a href="http://weather-it-is.com" target="_blank">http://weather-it-is.com</a><br>
Jerusalem, Israel<br>
Local: 02 930 9525<br>
Cell: 054 7 231 170<br>
Int-IS: x972 2 930 9525<br>
<br>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
<br clear="all">
<div><br>
</div>
-- <br>
<div dir="ltr">
<div dir="ltr">
<div>
<div dir="ltr">Barry H. Lynn, Ph.D
<div>
<div>Senior Associate Scientist, Lecturer,</div>
<div>
<div><span style="color:rgb(136,136,136)">The Institute of the Earth Science, </span><br style="color:rgb(136,136,136)">
<span style="color:rgb(136,136,136)">The Hebrew University of Jerusalem, </span><br style="color:rgb(136,136,136)">
<span style="color:rgb(136,136,136)">Givat Ram, Jerusalem 91904, Israel </span><br style="color:rgb(136,136,136)">
</div>
<span style="color:rgb(136,136,136)">Tel: 972 547 231 170</span><br style="color:rgb(136,136,136)">
<span style="color:rgb(136,136,136)">Fax: (972)-25662581</span></div>
</div>
<div><span style="color:rgb(136,136,136)"><br>
</span></div>
<div>C.E.O, Weather It Is, LTD<br>
Weather and Climate Focus<br>
<a href="http://weather-it-is.com" target="_blank">http://weather-it-is.com</a><br>
Jerusalem, Israel<br>
Local: 02 930 9525<br>
Cell: 054 7 231 170<br>
Int-IS: x972 2 930 9525<br>
<br>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>