Grads for Ubuntu Problem

Jason Snyder jmssnyder at UCDAVIS.EDU
Sun Feb 28 15:24:31 EST 2010


still having the same problem and the same messages as below.  How do I
modify the paths of GADDIR ,etc.:

on my computer GrADS in the following directory:

/home/snyderjm/Desktop/Grads-2.0.a7.1/bin

I have the following files in my Grads folder after installing data.tar

snyderjm at snyderjm-laptop:~/Desktop/grads-2.0.a7.1/bin$ ls
bufrscan   font1.dat  font5.dat  gribmap   gxtran   mres
COPYRIGHT  font2.dat  grads      gribscan  hires    stnmap
data.tar   font3.dat  gradsdap   gxeps     INSTALL  udunits.dat
font0.dat  font4.dat  grib2scan  gxps      lowres   wgrib

Based on this can you help me out with setting up GrADS to run properly.

I tried doing setenv in the csh.  Am I doing this correctly?

-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/ad61d53e/attachment.html 


More information about the gradsusr mailing list