<div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Dear Mahakur,<br><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">I did it as follows:<br>********************************************<br>

mohsen@mohsen-M68M-S2P:~$ <span style="color:rgb(0,0,255)">ls</span><br><span style="color:rgb(56,118,29)"> bin <a href="http://hgt.nc">hgt.nc</a>  <a href="http://slp.nc">slp.nc</a> </span><br>mohsen@mohsen-M68M-S2P:~$ <span style="color:rgb(0,0,255)">cd bin/</span><br>

mohsen@mohsen-M68M-S2P:~/bin$ <span style="color:rgb(0,0,255)">ls</span><br><span style="color:rgb(56,118,29)">bufrscan   font2.dat  grads  gxeps   INSTALL  tables</span><br style="color:rgb(56,118,29)"><span style="color:rgb(56,118,29)">COPYRIGHT  font3.dat  grib2scan  gxps    lowres   udunits.dat</span><br style="color:rgb(56,118,29)">

<span style="color:rgb(56,118,29)">font0.dat  font4.dat  gribmap    gxtran  mres     wgrib</span><br style="color:rgb(56,118,29)"><span style="color:rgb(56,118,29)">font1.dat  font5.dat  gribscan   hires   stnmap</span><br>

mohsen@mohsen-M68M-S2P:~/bin$ <span style="color:rgb(0,0,255)">chmod 700 *</span><br>mohsen@mohsen-M68M-S2P:~/bin$ <span style="color:rgb(0,0,255)">grads </span><br><span style="color:rgb(255,0,0)">bash: /home/mohsen/bin/grads: cannot execute binary file</span><br>

Or:<br>mohsen@mohsen-M68M-S2P:~/bin$ <span style="color:rgb(0,0,255)">./grads </span><br><span style="color:rgb(255,0,0)">bash: ./grads: cannot execute binary file</span><br>mohsen@mohsen-M68M-S2P:~/bin$ <br>********************************************<br>

</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">The interesting thing is that, after typing &quot;chmod 700 *&quot; , which changes access rights for a file, when I&#39;m typing &quot;gra...&quot; and hitting the Tab, the rest of the word - which is grads - is typing automatically, while it was impossible before. It means that, I think, it can reads the file well, but I wonder why it can&#39;t execute/run it! <br>

</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">************<br><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Have you any idea?<br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">

<br></div></div><div class="gmail_extra"><br clear="all"><div><div dir="ltr"><span><span style="font-size:11.0pt;line-height:115%;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#888888"></span></span><span><span dir="RTL" style="font-size:11.0pt;line-height:115%;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#888888" lang="AR-SA"><span></span></span></span>--<div>

some are weather-wise some are otherwise!</div><div>--<br>Best Wishes,                                        <br>(Mr.) Mohsen Soltani<br>Climatology Grad Student (M.Sc.),<br>Faculty of Geography, University of Tehran, Tehran, Iran<br>

Tel: (+98) 9119772934<br>e-mail: <a href="mailto:soltani.clima@gmail.com" target="_blank">soltani.clima@gmail.com</a><br></div></div></div>
<br><br><div class="gmail_quote">On Sun, Jun 2, 2013 at 8:19 PM, M.Mahakur <span dir="ltr">&lt;<a href="mailto:mmahakur@tropmet.res.in" target="_blank">mmahakur@tropmet.res.in</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

Just one more try:<br>
<br>
Before typing ./grads in your bin folder type &#39;chmod 700 *&#39; in that folder.<br>
<div class="im HOEnZb"><br>
----- Original Message -----<br>
From: Mohsen Soltani &lt;<a href="mailto:soltani.clima@gmail.com">soltani.clima@gmail.com</a>&gt;<br>
To: GrADS Users Forum &lt;<a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a>&gt;<br>
</div><div class="HOEnZb"><div class="h5">Sent: Sun, 02 Jun 2013 20:44:25 +0530 (IST)<br>
Subject: Re: [gradsusr] Can&#39;t open .nc file in Grads in Linux machine!<br>
<br>
Mahakur,<br>
<br>
I typed &quot;./grads&quot; in bin folder as follows:<br>
******************************<br>
mohsen@mohsen-M68M-S2P:~$ ls<br>
bin  <a href="http://hgt.nc" target="_blank">hgt.nc</a> <a href="http://slp.nc" target="_blank">slp.nc</a><br>
mohsen@mohsen-M68M-S2P:~$ cd bin/<br>
mohsen@mohsen-M68M-S2P:~/bin$ ls<br>
bufrscan   font2.dat  grads      gxeps   INSTALL  tables<br>
COPYRIGHT  font3.dat  grib2scan  gxps    lowres   udunits.dat<br>
font0.dat  font4.dat  gribmap    gxtran  mres     wgrib<br>
font1.dat  font5.dat  gribscan   hires   stnmap<br>
mohsen@mohsen-M68M-S2P:~/bin$ grads<br>
The program &#39;grads&#39; is currently not installed.  You can install it by<br>
typing:<br>
sudo apt-get install grads<br>
mohsen@mohsen-M68M-S2P:~/bin$ ./grads<br>
bash: ./grads: Permission denied<br>
***********************<br>
As you see, it says: permission denied.<br>
*********************************************************************<br>
Later typed:<br>
************<br>
mohsen@mohsen-M68M-S2P:~/bin$ export GADDIR=/home/mohsen/bin/grads/<br>
mohsen@mohsen-M68M-S2P:~/bin$<br>
******<br>
mohsen@mohsen-M68M-S2P:~/bin$ export GASCRP=/home/mohsen/bin/grads/<br>
****<br>
mohsen@mohsen-M68M-S2P:~/bin$ export GAUDFT=/home/mohsen/bin/grads/<br>
mohsen@mohsen-M68M-S2P:~/bin$<br>
*********************************************************<br>
I tried 3-ways, but nothing happened!<br>
***********************************************************<br>
and tried:<br>
mohsen@mohsen-M68M-S2P:~/bin$ setenv GADDIR=/home/mohsen/bin/grads/<br>
No command &#39;setenv&#39; found, did you mean:<br>
 Command &#39;netenv&#39; from package &#39;netenv&#39; (universe)<br>
setenv: command not found<br>
*******************<br>
<br>
It seems that I should give it up! and continue to work with windows...<br>
<br>
Thanks anyway,<br>
Mohsen<br>
<br>
--<br>
some are weather-wise some are otherwise!<br>
--<br>
Best Wishes,<br>
(Mr.) Mohsen Soltani<br>
Climatology Grad Student (M.Sc.),<br>
Faculty of Geography, University of Tehran, Tehran, Iran<br>
Tel: (+98) 9119772934<br>
e-mail: <a href="mailto:soltani.clima@gmail.com">soltani.clima@gmail.com</a><br>
<br>
<br>
On Sun, Jun 2, 2013 at 4:16 PM, Debanjana Das &lt;<a href="mailto:debanjanadas88@gmail.com">debanjanadas88@gmail.com</a>&gt;wrote:<br>
<br>
&gt; u have to keep the data into home only<br>
&gt;<br>
&gt;<br>
&gt; On Sun, Jun 2, 2013 at 11:25 AM, Mohsen Soltani &lt;<a href="mailto:soltani.clima@gmail.com">soltani.clima@gmail.com</a>&gt;wrote:<br>
&gt;<br>
&gt;&gt; Dear Friends,<br>
&gt;&gt;<br>
&gt;&gt; Thank you all for your help....<br>
&gt;&gt; I uninstalled the Grads, which I had installed it through &quot;sudo apt-get<br>
&gt;&gt; install grads&quot;.  And I&#39;m trying to install it based on the instructions of<br>
&gt;&gt; Grads itself (<a href="http://www.iges.org/grads/downloads.html" target="_blank">http://www.iges.org/grads/downloads.html</a>).<br>
&gt;&gt;<br>
&gt;&gt; As you know, the Grads executables are typically placed in the directory<br>
&gt;&gt; /usr/local/bin. Since, I don&#39;t have permission for this directory (I mean I<br>
&gt;&gt; can&#39;t paste anything there), I put them in the /home/mohsen/grads/bin. Then<br>
&gt;&gt; unpacked it, which all the executables are available in the file as follows:<br>
&gt;&gt; *****************************<br>
&gt;&gt; /home/mohsen/grads/bin/bufrscan<br>
&gt;&gt; /home/mohsen/grads/bin/COPYRIGHT<br>
&gt;&gt; /home/mohsen/grads/bin/grads<br>
&gt;&gt; /home/mohsen/grads/bin/grib2scan<br>
&gt;&gt; /home/mohsen/grads/bin/gribmap<br>
&gt;&gt; /home/mohsen/grads/bin/gribscan<br>
&gt;&gt;  /home/mohsen/grads/bin/gxeps<br>
&gt;&gt; /home/mohsen/grads/bin/gxps<br>
&gt;&gt; /home/mohsen/grads/bin/gxtran<br>
&gt;&gt; /home/mohsen/grads/bin/INSTALL<br>
&gt;&gt; /home/mohsen/grads/bin/stnmap<br>
&gt;&gt; /home/mohsen/grads/bin/wgrib<br>
&gt;&gt; **********************<br>
</div></div><div class="HOEnZb"><div class="h5">_______________________________________________<br>
gradsusr mailing list<br>
<a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>
<a href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
</div></div></blockquote></div><br></div>