<div dir="ltr"><div class="gmail_default" style="font-size:small">The word "marker" is arbitrary. The unique_string function will take whatever string you input to the function, and return "xxxxxN" where "xxxxx" is the string you entered, and N is a unique number counter. I just used "marker" because I thought you were calling gsn_add_polymarker, so it was somewhat meaningful to use the word "marker". But, it's basically a dummy variable, so you can call it whatever you want.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">BTW, you can usually google an error message and hopefully you'll get a useful hit. I googled "no contour data" and it came up with this link:</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default"><a href="https://www.ncl.ucar.edu/Support/talk_archives/2012/1763.html">https://www.ncl.ucar.edu/Support/talk_archives/2012/1763.html</a><br></div><div class="gmail_default"><br></div><div class="gmail_default">I then clicked on "next in thread" so I could see the answer:</div><div class="gmail_default"><br></div><div class="gmail_default"><a href="https://www.ncl.ucar.edu/Support/talk_archives/2012/1762.html">https://www.ncl.ucar.edu/Support/talk_archives/2012/1762.html</a><br></div><div class="gmail_default"><br></div><div class="gmail_default">which is:</div><div class="gmail_default"><br></div><div class="gmail_default"> Try setting cnNoDataLabelOn to False. <br></div><div class="gmail_default"><br></div><div class="gmail_default">--Mary</div><div class="gmail_default"><br></div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small"><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Feb 13, 2017 at 10:52 AM, Barry Lynn <span dir="ltr"><<a href="mailto:barry.h.lynn@gmail.com" target="_blank">barry.h.lynn@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Thank you.<div><br></div><div>That works.</div><div><br></div><div>I am wondering about a couple of things.</div><div><br></div><div>1) Why do you use the word "marker?"</div><div><br></div><div>2) How do I remove the statement "No contour data?"</div><div><br></div><div>I added some random fluctuations, and this seems to help most times, but not all.</div><span class="HOEnZb"><font color="#888888"><div><br></div><div>Barry</div></font></span></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Feb 13, 2017 at 6:49 PM, Mary Haley <span dir="ltr"><<a href="mailto:haley@ucar.edu" target="_blank">haley@ucar.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_default" style="font-size:small">Barry,</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">When you call any of the gsn_add_poly routines, you need to make sure that the variable on the left side of the equation is unique. This will also help insure that you don't get an error about the size not matching.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">Since you have a plot object, you can use this with the "unique_string" function to create a unique name every time:</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">tmpstr = unique_string("marker")</div><div class="gmail_default" style="font-size:small"><span style="font-size:12.8px">plot_t@$tmpstr$ = markid_l</span><br></div><div class="gmail_default" style="font-size:small"><span style="font-size:12.8px"><br></span></div><div class="gmail_default" style="font-size:small"><span style="font-size:12.8px">--Mary</span></div><div class="gmail_default" style="font-size:small"><span style="font-size:12.8px"><br></span></div><div class="gmail_default" style="font-size:small"><span style="font-size:12.8px"><br></span></div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="m_-5847793285410064156h5">On Sat, Feb 11, 2017 at 8:41 PM, Barry Lynn <span dir="ltr"><<a href="mailto:barry.h.lynn@gmail.com" target="_blank">barry.h.lynn@gmail.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="m_-5847793285410064156h5"><div dir="ltr">P.S. You won't be able to test it because I can't attach the wrf output file.<div><br></div><div>If needed, I can extract the xlat,xlon information. Please let me know.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Feb 12, 2017 at 5:39 AM, Barry Lynn <span dir="ltr"><<a href="mailto:barry.h.lynn@gmail.com" target="_blank">barry.h.lynn@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Hi:</div><div><br></div><div>I want to plot different color markers, depending on intensity of the variables (snowh_dom_rate). </div><div><br></div><div>The number of markers changes depending on the interval (I also change the color.)</div><div><br></div><div>The problem occurs from line 458 to the bottom (about 20 or so lines of code).</div><div><br></div><div>It only happens if I have more than one interval (e.g., interval 0,1, but no others).</div><div><br></div><div>I went to here to solve this problem.</div><div><br></div><div><a href="https://www.ncl.ucar.edu/Support/talk_archives/2012/0899.html" target="_blank">https://www.ncl.ucar.edu/Suppo<wbr>rt/talk_archives/2012/0899.htm<wbr>l</a><br></div><div><br></div><div>However, if I attach attributes, I get this error:</div><div><br></div><div><div>fatal:Dimension size of attribute and right-hand side of assignment do not match</div><div>fatal:["Execute.c":8575]:Execu<wbr>te: Error occurred at or near line 487 in file ./test.ncl</div></div><div><br></div><div>If I set: plot_t@markid_l := markid_l</div><div><br></div><div>I return to the original problem.</div><div><br></div><div>(Note, I fudged in some data for the higher interval -- but the code fails whether I have it in my original data or not).</div><div><br></div><div>Thank you!</div>-- <br><div class="m_-5847793285410064156m_-4967440020416996962m_-5498148036517680860m_-8672988709865864076gmail_signature"><div dir="ltr">Barry H. Lynn, Ph.D<div><div>Senior 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>US <a href="tel:(914)%20432-3108" value="+19144323108" target="_blank">914 432 3108</a><br></div></div></div>
</div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="m_-5847793285410064156m_-4967440020416996962m_-5498148036517680860gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Barry H. Lynn, Ph.D<div><div>Senior 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>US <a href="tel:(914)%20432-3108" value="+19144323108" target="_blank">914 432 3108</a><br></div></div></div>
</div>
<br></div></div>______________________________<wbr>_________________<br>
ncl-talk mailing list<br>
<a href="mailto:ncl-talk@ucar.edu" target="_blank">ncl-talk@ucar.edu</a><br>
List instructions, subscriber options, unsubscribe:<br>
<a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" rel="noreferrer" target="_blank">http://mailman.ucar.edu/mailma<wbr>n/listinfo/ncl-talk</a><br>
<br></blockquote></div><br></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="m_-5847793285410064156gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Barry H. Lynn, Ph.D<div><div>Senior 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>US <a href="tel:(914)%20432-3108" value="+19144323108" target="_blank">914 432 3108</a><br></div></div></div>
</div>
</div></div></blockquote></div><br></div>