Grads for Ubuntu Problem
Goodson,Ron [Edm]
Ron.Goodson at EC.GC.CA
Sun Feb 28 16:01:18 EST 2010
I am reading only this latest message .. so may have missed something
setenv is to set the environment variable for C-shell or similar.
If you are running Ubuntu - you are probably using bash (look in your
/etc/passwd to see what shell you are using).
If so .. instead of "setenv" try
export GADDIR=/home/snyderjm/whatever.
ron
________________________________
From: GRADSUSR at LIST.CINECA.IT [mailto:GRADSUSR at LIST.CINECA.IT] On Behalf
Of Jason Snyder
Sent: February 28, 2010 1:35 PM
To: GRADSUSR at LIST.CINECA.IT
Subject: Re: Grads for Ubuntu Problem
I tried doing this according to the instructions but to no avail.
The problem is is when I do setenv in the unbuntu terminal I get the
following message:
snyderjm at snyderjm-laptop:~/Desktop/grads-2.0.a7.1/bin$ setenv GADDIR
/home/snyderjm/Desktop/grads-2.0.a7.1/bin
No command 'setenv' found, did you mean:
Command 'netenv' from package 'netenv' (universe)
setenv: command not found
Therefore, I tried the following:
snyderjm at snyderjm-laptop:~/Desktop/grads-2.0.a7.1/bin$ csh
% setenv GADDIR /home/snyderjm/Desktop/grads-2.0/a7.1/bin
% exit
This is my Grads directory now as it stands with data.tar.gz installed,
unzipped and tarred:
snyderjm at snyderjm-laptop:~/Desktop/grads-2.0.a7.1/bin$ ls
bufrscan font1.dat font5.dat gribmap gxtran mres wgrib
COPYRIGHT font2.dat grads gribscan hires stnmap
data.tar font3.dat gradsdap gxeps INSTALL udunits.dat
font0.dat font4.dat grib2scan gxps lowres uwnd.1998.nc
I am continuing to have the same problems with Grads. How do I resolve
this and my setenv problems?
Thanks,
Jason
On Sun, Feb 28, 2010 at 12:21 PM, luis blacutt <luis.blacutt at gmail.com>
wrote:
Have you unziped the file and installed following the
instructions?
About the GADDIR file don't worry, I haven't made anything with
it and still works fine
Luis
On Sun, Feb 28, 2010 at 3:37 PM, Jason Snyder
<jmssnyder at ucdavis.edu> wrote:
I am still ahving the same problems even after
downloading data.tar. Where do I find the variable GADDIR?
Thanks,
jason
On Sat, Feb 27, 2010 at 5:49 AM, luis blacutt
<luis.blacutt at gmail.com> wrote:
Hi Jason,
I think you are running on the same problem I
run. You need to download the data file
check this from
http://www.iges.org/grads/downloads.html
Supplementary Files
The font and map files are supplementary data
sets that are required in order to run GrADS. Their default location is:
/usr/local/lib/grads/. If you do not have write permission for this
directory you can place the files elsewhere, but you must also change
the environment variable GADDIR so the GrADS executables will know where
to find these files. You can download the data files separately by
clicking here: data.tar.Z <ftp://grads.iges.org/grads/data.tar.Z>
<ftp://grads.iges.org/grads/data.tar.Z> .
cd <dirname>
uncompress data.tar.Z
tar xvf data.tar
Regards
Luis
On Fri, Feb 26, 2010 at 2:27 PM, Jason Snyder
<jmssnyder at ucdavis.edu> wrote:
I have grads on Ubuntu 9.10 but have
been having problems with opening up netcdf files on it. The program
opens all right but I get the following message when I open a netcdf
file:
Config: v2.0.a7 little-endian readline
printim grib2 netcdf hdf4-sds hdf5 geotiff
Issue 'q config' command for more
information.
Landscape mode? ('n' for portrait): no
GX Package Initialization: Size = 8.5 11
ga-> sdfopen uwnd.1998.nc
Scanning self-describing file:
uwnd.1998.nc
udunits(3): Couldn't open units database
"/usr/local/lib/grads/udunits.dat": No such file or directory
gadsdf: UDUNITS package initialization
failure.
ga->
How do I resolve this problem?
Thanks,
Jason
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20100228/382bc83a/attachment.html
More information about the gradsusr
mailing list