<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi,<br>
If you've installed ncl correctly, which it seems that you have
since you ran on the command line, this should just work:<br>
#!/bin/bash<br>
ncl
/home/arnold/ROMS_AGRIF_Vietnam/Roms_tools/Run/FORECAST/roms_5_ratio.ncl
> ncl.log<br>
<br>
<br>
<br>
<br>
<br>
<br>
<div class="moz-cite-prefix">On 20/04/15 12:29 PM, Guiting Song
wrote:<br>
</div>
<blockquote
cite="mid:CAJy6Gbmz3qfuH-Perzq-8MJGVAEqsRovK5AwCFZVw4hvV=Askg@mail.gmail.com"
type="cite">
<div dir="ltr">
<div>Hi, All,<br>
<br>
I can run my ncl script-roms_5_ratio.ncl in linux command
line. But can not make it in bash file. My bash file is like
below<br>
<br>
_______________________________________________________________<br>
#!/bin/bash<br>
<br>
export NCL=/home/arnold/software/ncl_ncarg/bin/ncl<br>
$NCL
/home/arnold/ROMS_AGRIF_Vietnam/Roms_tools/Run/FORECAST/roms_5_ratio.ncl
> ncl.log<br>
<br>
_____________________________________________________________<br>
<br>
</div>
<div>however it does not give me the running result, does
anybody have experiences about how to run ncl scripts in bash
file, please share with me and I will be very appreciated.<br>
</div>
<div><br>
Best regards,<br>
</div>
<div>Tony<br>
</div>
<div><br>
<br>
<br>
<br>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
<a class="moz-txt-link-freetext" href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a>
</pre>
</blockquote>
<br>
</body>
</html>