<div dir="ltr">Hi Barry,<div>Thanks as always for sending an easy-to-run script. I put in a bunch of print statements, and it looks like your script fails on the 2nd call to tdprpt within the do loop. The values being passed to tdprpt are:</div><div>(0) 0.5616955<br>(1) 0.4153071<br>(2) 0.06611873<br></div><div>and then the script core dumps. I unfortunately have zero experience using the tdprpt function and/or creating 3D graphics, so this is just an educated guess: I am guessing that those 3 values printed above are outside the range of valid coordinates. Beyond that general statement, I do not believe I can help any further.</div><div><br></div><div>One other thing I noticed: You need to pass a resource list in as the last argument in gsn_text_ndc, as opposed to just passing a scalar. So something like this:</div> tres = True<br><div> tres@txFontHeightF = 0.02</div><div> gsn_text_ndc(wks, tostring(letters(i)), xy_proj(0), xy_proj(1), tres)</div><div>Best,<br></div><div>Adam</div><div><br></div><div> </div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Aug 16, 2024 at 5:35 AM Barry Lynn via ncl-talk <<a href="mailto:ncl-talk@mailman.ucar.edu">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">Hello:<div><br></div><div>I've been working on creating a 3 dimensional plot.</div><div><br></div><div>It works fine (you can run it yourself), so far, but when I try to add letters to the Markers I can't get it to run.</div><div><br></div><div>ChatGTP is stumped!</div><div><br></div><div>Does someone have a suggestion?</div><div><br></div><div>The line that doesn't work (or some permutation of it) is: gsn_text_ndc(wks, tostring(letters(i)), xy_proj(0), xy_proj(1), font_height)</div><div><br></div><div>Thank you,</div><div><br></div><div>Barry<br clear="all"><div><br></div><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><br></div><div dir="ltr">Barry H. Lynn, Ph.D<div><div>Senior <font color="#000000">Scientist, Lecturer,</font></div><div><div><font color="#000000">The Institute of Earth Sciences, <br>The Hebrew University of Jerusalem, <br>Givat Ram, Jerusalem 91904, Israel <br></font></div><font color="#000000">Tel: 972 547 231 170<br>Fax: (972)-25662581</font></div></div><div><span style="color:rgb(136,136,136)"><br></span></div><div>Weather It Is, LTD<br>Weather and Climate Focus<br><a href="http://weather-it-is.com" target="_blank">https://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>
_______________________________________________<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><br>
</blockquote></div><br clear="all"><div><br></div><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div><div><span><font color="#888888">Adam Phillips <br></font></span></div><span><font color="#888888">Associate Scientist IV, Climate Analysis Section</font></span></div><div><span><font color="#888888">Climate and Global Dynamics Laboratory<br></font></span></div></div><div><span style="color:rgb(136,136,136)">National Center for Atmospheric Research</span><span><font color="#888888"><br></font></span></div><div><span><font color="#888888"><a href="http://www.cgd.ucar.edu/staff/asphilli/" target="_blank">www.cgd.ucar.edu/staff/asphilli/</a> </font></span></div><span><font color="#888888"></font></span><div><div><span><font color="#888888"><br></font></span><div><span><font color="#888888"><a href="http://www.cgd.ucar.edu/staff/asphilli" target="_blank"></a></font></span></div></div></div></div></div></div></div></div></div></div></div>