<div dir="ltr"><div dir="ltr">Roopashree, thanks for posting the complete error message. That message contains an important clue. There are several invisible unicode characters that should not be there on line 18, in file <b>ex10.ncl</b>.</div><div dir="ltr"><br></div><div dir="ltr">Try deleting the unicode characters U+2060 (non-break zero space). Or else, delete line 18, and replace it with the same line, copied directly from example 1 on the <b>ndtooned</b> documentation page. When I copied the 3 lines directly from that website, that short example worked perfectly for me.</div><div dir="ltr"><br></div><div>The file <b>ex10.ncl</b> looks like an NCL prepared example script. Where exactly did you get that file?</div><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Aug 20, 2024 at 11:15 PM R Shrivastava 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-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Dear Sir,</div><div>Thanks very much fir your reply. Following your suggestion, the exact error message is posted. <br></div><div><br></div><div>Copyright (C) 1995-2019 - All Rights Reserved<br> University Corporation for Atmospheric Research<br> NCAR Command Language Version 6.6.2<br> The use of this software is governed by a License Agreement.<br> See <a href="http://www.ncl.ucar.edu/" target="_blank">http://www.ncl.ucar.edu/</a> for more details.<br>warning:unicode character encountered ()<br>fatal:syntax error: line 18 in file ex10.ncl before or near (/<br> a = (/ (/<br>------------^<br><br>warning:unicode character encountered ()<br>warning:unicode character encountered ()<br>warning:unicode character encountered ()<br>warning:unicode character encountered ()<br>warning:unicode character encountered ()<br>warning:unicode character encountered ()<br>warning:unicode character encountered ()<br>fatal:Syntax Error in block, block not executed<br>fatal:error at line 25 in file ex10.ncl<br></div><div><br></div><div>Thanks again</div><div>Warm Regards</div><div>Roopashree<br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, 20 Aug 2024 at 16:22, Jonathan Buzan <<a href="mailto:jbuzan@purdue.edu" target="_blank">jbuzan@purdue.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">
<div>
Hello Roopashree,
<div><br>
</div>
<div>Thanks for posting your script. </div>
<div>It is better to post the specific line and error message that is blowing up the script. Most of the issues are resolved quickly this way.</div>
<div>Usually, posting the whole script is only done when another person helping you requests to see the whole code block.</div>
<div><br>
</div>
<div>Here are helpful guidelines:</div>
<div><a href="https://www.ncl.ucar.edu/Support/posting_guidelines.shtml" target="_blank">https://www.ncl.ucar.edu/Support/posting_guidelines.shtml</a></div>
<div><br>
</div>
<div>Cheers,</div>
<div>-Jonathan</div>
<div><br></div><div><div>
<blockquote type="cite">
<div>On Aug 20, 2024, at 09:40, R Shrivastava via ncl-talk <<a href="mailto:ncl-talk@mailman.ucar.edu" target="_blank">ncl-talk@mailman.ucar.edu</a>> wrote:</div>
<div><div><br>
<div>
<div dir="ltr">
<div>Respected Sir/Madam,</div>
<div><br>
</div>
<div></div>
<div>While executing Example 1 on <a href="https://www.ncl.ucar.edu/Document/Functions/Built-in/ndtooned.shtml" target="_blank">
https://www.ncl.ucar.edu/Document/Functions/Built-in/ndtooned.shtml</a> syntax error is encountered.</div>
<div><br>
</div>
<div>Script is attached. Please help to resolve it.</div>
<div><br>
</div>
<div>Thanks</div>
<div>Warm Regards</div>
<div>Roopashree<br>
</div>
<div><br></div>
</div>
</div>
</div>
<span id="m_-1956221549682264342m_-8543269093176737078cid:f_m02467vo0"><ex10.ncl></span><br></div></blockquote></div></div></div></blockquote></div>
</blockquote></div></div>