<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hi Vijay,<div class=""><br class=""></div><div class="">The two commands you provided were:</div><div class=""><font face="Menlo" class=""><br class=""></font></div><div class=""><font face="Menlo" class="">$ ncl filename.ncl</font></div><div class=""><font face="Menlo" class=""><br class=""></font></div><div class="">and:</div><div class=""><font face="Menlo" class=""><br class=""></font></div><div class=""><font face="Menlo" class="">ncl 0> ncl uv300.ncl</font></div><div class=""><br class=""></div><div class="">The first command looks like it is being run in a shell (sh/bash/csh/ksh) environment based on the “<font face="Menlo" class="">$</font>” prompt, while the second command appears to be running in the NCL interactive environment as indicated by the “<font face="Menlo" class="">ncl 0></font>” prompt. The first command should work if the file “filename.ncl” exists. The second command is actually running in an NCL environment and is not valid NCL code, which is why you received the “fatal:syntax error”.</div><div class=""><br class=""></div><div class="">Was there any output when you tried running “ncl filename.ncl” in your shell environment?</div><div class=""><br class=""></div><div class="">As a new NCL user, you might find some useful information in the <a href="https://www.ncl.ucar.edu/Document/Manuals/NCL_User_Guide/" class="">NCL User Guide</a>.</div><div class=""><br class=""></div><div class="">Also, for future reference the <a href="mailto:ncl-talk@ucar.edu" class="">ncl-talk@ucar.edu</a> mailing list (register <a href="https://www.ncl.ucar.edu/Support/email_lists.shtml" class="">here</a>) is the best place to ask questions related to NCL usage; more users will see your question and you’ll be more likely to receive a quick response.</div><div class=""><br class=""></div><div class="">Please let me know if you have any further questions.</div><div class=""><br class=""></div><div class="">I hope this helps!</div><div class="">Kevin</div><div class=""><br class=""></div><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Apr 18, 2018, at 4:40 AM, Vijay Vishwakarma via ncl-install <<a href="mailto:ncl-install@ucar.edu" class="">ncl-install@ucar.edu</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">Respected Sir/Madam,<br clear="all" class=""><div class="">Good evening. I am a new NCL user. NCL is installed on my ubuntu OS. I have tried many times to plot ncfile data but it failed. When I am giving command: $ ncl filename.ncl ,then it is showing in return error like: $ ncl 0> ncl uv300.ncl<br class=""> $ ncl 1> fatal:syntax error: line 0 before or near uv300.<br class=""></div><div class="">Kindly help me.<br class=""></div><div class=""><br class=""></div><div class="">Thank you.<br class=""></div><div class=""><div style="text-align:center" class=""><span style="background-color:rgb(238,238,238)" class=""><span style="" class=""></span></span><br class=""><span style="background-color:rgb(238,238,238)" class=""><span style="" class=""></span></span></div><div class="gmail_signature" style="text-align:left"><div dir="ltr" class=""><div class=""><div class=""><span style="background-color:rgb(238,238,238)" class=""><span style="" class=""><b class="">Regards</b>,</span></span></div><div class=""><span style="background-color:rgb(238,238,238)" class=""><span style="" class=""><b class="">Vijay Vishwakarma<br class=""></b></span></span></div><div class=""><span style="background-color:rgb(238,238,238)" class=""><span style="" class=""><b class="">Research Scholar(Ph.D.)<br class=""></b></span></span></div><div dir="ltr" class=""><span style="background-color:rgb(238,238,238)" class=""><span style="" class=""><b class="">Department of Geophysics <br class=""></b></span></span><div class=""><span style="background-color:rgb(238,238,238)" class=""><span style="" class=""><b class="">Institue of Science</b></span></span></div><div class=""><span style="background-color:rgb(238,238,238)" class=""><span style="" class=""><b class="">Banaras Hindu University</b></span></span></div><div class=""><span style="background-color:rgb(238,238,238)" class=""><span style="" class=""><b class="">Varanasi, 221005</b></span></span></div></div></div></div></div>
</div></div>
_______________________________________________<br class="">ncl-install mailing list<br class="">List instructions, subscriber options, unsubscribe:<br class=""><a href="http://mailman.ucar.edu/mailman/listinfo/ncl-install" class="">http://mailman.ucar.edu/mailman/listinfo/ncl-install</a><br class=""></div></blockquote></div><br class=""></div></body></html>