[ncl-install] Regarding ncfile data visualiation
Kevin Hallock
hallock at ucar.edu
Wed Apr 18 19:05:38 MDT 2018
Hi Vijay,
The two commands you provided were:
$ ncl filename.ncl
and:
ncl 0> ncl uv300.ncl
The first command looks like it is being run in a shell (sh/bash/csh/ksh) environment based on the “$” prompt, while the second command appears to be running in the NCL interactive environment as indicated by the “ncl 0>” 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”.
Was there any output when you tried running “ncl filename.ncl” in your shell environment?
As a new NCL user, you might find some useful information in the NCL User Guide <https://www.ncl.ucar.edu/Document/Manuals/NCL_User_Guide/>.
Also, for future reference the ncl-talk at ucar.edu mailing list (register here <https://www.ncl.ucar.edu/Support/email_lists.shtml>) 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.
Please let me know if you have any further questions.
I hope this helps!
Kevin
> On Apr 18, 2018, at 4:40 AM, Vijay Vishwakarma via ncl-install <ncl-install at ucar.edu> wrote:
>
> Respected Sir/Madam,
> 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
> $ ncl 1> fatal:syntax error: line 0 before or near uv300.
> Kindly help me.
>
> Thank you.
>
> Regards,
> Vijay Vishwakarma
> Research Scholar(Ph.D.)
> Department of Geophysics
> Institue of Science
> Banaras Hindu University
> Varanasi, 221005
> _______________________________________________
> ncl-install mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-install
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ucar.edu/pipermail/ncl-install/attachments/20180418/48090962/attachment.html>
More information about the ncl-install
mailing list