[gradsusr] Can't open .nc file in Grads in Linux machine!

M.Mahakur mmahakur at tropmet.res.in
Sun Jun 2 11:49:43 EDT 2013


Just one more try:

Before typing ./grads in your bin folder type 'chmod 700 *' in that folder.

----- Original Message -----
From: Mohsen Soltani <soltani.clima at gmail.com>
To: GrADS Users Forum <gradsusr at gradsusr.org>
Sent: Sun, 02 Jun 2013 20:44:25 +0530 (IST)
Subject: Re: [gradsusr] Can't open .nc file in Grads in Linux machine!

Mahakur,

I typed "./grads" in bin folder as follows:
******************************
mohsen at mohsen-M68M-S2P:~$ ls
bin  hgt.nc slp.nc
mohsen at mohsen-M68M-S2P:~$ cd bin/
mohsen at mohsen-M68M-S2P:~/bin$ ls
bufrscan   font2.dat  grads      gxeps   INSTALL  tables
COPYRIGHT  font3.dat  grib2scan  gxps    lowres   udunits.dat
font0.dat  font4.dat  gribmap    gxtran  mres     wgrib
font1.dat  font5.dat  gribscan   hires   stnmap
mohsen at mohsen-M68M-S2P:~/bin$ grads
The program 'grads' is currently not installed.  You can install it by
typing:
sudo apt-get install grads
mohsen at mohsen-M68M-S2P:~/bin$ ./grads
bash: ./grads: Permission denied
***********************
As you see, it says: permission denied.
*********************************************************************
Later typed:
************
mohsen at mohsen-M68M-S2P:~/bin$ export GADDIR=/home/mohsen/bin/grads/
mohsen at mohsen-M68M-S2P:~/bin$
******
mohsen at mohsen-M68M-S2P:~/bin$ export GASCRP=/home/mohsen/bin/grads/
****
mohsen at mohsen-M68M-S2P:~/bin$ export GAUDFT=/home/mohsen/bin/grads/
mohsen at mohsen-M68M-S2P:~/bin$
*********************************************************
I tried 3-ways, but nothing happened!
***********************************************************
and tried:
mohsen at mohsen-M68M-S2P:~/bin$ setenv GADDIR=/home/mohsen/bin/grads/
No command 'setenv' found, did you mean:
 Command 'netenv' from package 'netenv' (universe)
setenv: command not found
*******************

It seems that I should give it up! and continue to work with windows...

Thanks anyway,
Mohsen

--
some are weather-wise some are otherwise!
--
Best Wishes,
(Mr.) Mohsen Soltani
Climatology Grad Student (M.Sc.),
Faculty of Geography, University of Tehran, Tehran, Iran
Tel: (+98) 9119772934
e-mail: soltani.clima at gmail.com


On Sun, Jun 2, 2013 at 4:16 PM, Debanjana Das <debanjanadas88 at gmail.com>wrote:

> u have to keep the data into home only
>
>
> On Sun, Jun 2, 2013 at 11:25 AM, Mohsen Soltani <soltani.clima at gmail.com>wrote:
>
>> Dear Friends,
>>
>> Thank you all for your help....
>> I uninstalled the Grads, which I had installed it through "sudo apt-get
>> install grads".  And I'm trying to install it based on the instructions of
>> Grads itself (http://www.iges.org/grads/downloads.html).
>>
>> As you know, the Grads executables are typically placed in the directory
>> /usr/local/bin. Since, I don't have permission for this directory (I mean I
>> can't paste anything there), I put them in the /home/mohsen/grads/bin. Then
>> unpacked it, which all the executables are available in the file as follows:
>> *****************************
>> /home/mohsen/grads/bin/bufrscan
>> /home/mohsen/grads/bin/COPYRIGHT
>> /home/mohsen/grads/bin/grads
>> /home/mohsen/grads/bin/grib2scan
>> /home/mohsen/grads/bin/gribmap
>> /home/mohsen/grads/bin/gribscan
>>  /home/mohsen/grads/bin/gxeps
>> /home/mohsen/grads/bin/gxps
>> /home/mohsen/grads/bin/gxtran
>> /home/mohsen/grads/bin/INSTALL
>> /home/mohsen/grads/bin/stnmap
>> /home/mohsen/grads/bin/wgrib
>> **********************



More information about the gradsusr mailing list