Reading NetCDF

Don Hooper hoop at COLORADO.EDU
Mon Dec 4 13:07:36 EST 2006


Arlindo Oliva Meque,

That may be a bad build you have there.  Try setting the environment
variable "GADDIR" to point to where you put udunits.dat (and the
font files, etc.) in your distribution.  It's complaining because it
can't find it, and has a bad default value (the default should be
/usr/local/lib/grads, I believe).  It's not just sdfopen that's in
trouble because of this lack of information.  Running GrADS without
its fonts is no fun, either.

-Hoop
> From owner-gradsusr at LIST.CINECA.IT  Mon Dec  4 10:55:53 2006
>
>  hi,
>
> when i type grads -p   a have:
>
> Grid Analysis and Display System (GrADS) Version
> 1.8SL7
> Copyright (c) 1988-2001 by Brian Doty
> Center for Ocean-Land-Atmosphere Studies
> Institute for Global Environment and Society
> All Rights Reserved
>
> Config: v1.8SL7 32-bit little-endian readline sdf/xdf
> netcdf  DODS-enabled lats athena printim
>
> Issue 'q config' command for more information.
>
> GX Package Initialization: Size = 8.5 11
>
>
> after typing q config i have :
>
> BUILDINFO
>
> This version of GrADS has been configured with the
> following options:
>
>    o This is a 32-bit LITTLE ENDIAN machine version.
>    o Command line editing (readline) ENABLED.
>    o CIRES/CDC (http://www.cdc.noaa.gov) SDF/XDF
> interface ENABLED.
>      Use sdfopen or xdfopen to read NetCDF files; this
> version is NOT
>      configured to read HDF-SDS files.
>    o URI DODS interface ENABLED.
> (http://unidata.ucar.edu)
>      This version is configured to access DODS servers
> over the network,
>      via the sdfopen or xdfopen commands.
>    o PCMDI (http://www-pcmdi.llnl.gov) LATS interface
> ENABLED.
>      This version is configured to write GRIB and
> NetCDF files.
>    o DAO (http://dao.gsfc.nasa.gov) Athena Widget GUI
> ENABLED.
>    o NRL/DAO/PCMDI XA or ImageMagick Image Output
> DISABLED.
>    o printim command for direct png/gif output
> ENABLED.
>      (via the GD Library -- http://www.boutell.com/gd)
>
>
>
> When  try to open a NetCDF file an error message
> appears:
>
>
>
> ga-> sdfopen ATM200302_200311AVG.nc
> Scanning self-describing file:  ATM200302_200311AVG.nc
> udunits(3): Couldn't open units database
> "/usr/doty/hoopstuff/udunits-1.11.7/etc/udunits.dat":
> No such file or directory
> UDUNITS package initialization failure.
>
>
>
>
> Can you tell me more clearly how can i run the gradsnc
> file ?
>
>
> Cheers!
>
> Arlindo
>
> ------------------------------------------------------------------------
> Arlindo Oliva Meque
> National Institute of Meteorology
> Environmental Research and Modeling Center (CPMA)
> Rua de Mukumbura, 164, Po.Box 256,
> Maputo-Mozambique
> Tel. 258 21 491150, Fax. 258 21 491150
> Mobile: +258 824726300
> E-mail: mequitomz at yahoo.com.br
>         arlindo.meque at inam.gov.mz
>         arlindo.meque at uem.mz
>
>
>
> _______________________________________________________
> O Yahoo! está de cara nova. Venha conferir!
> http://br.yahoo.com
>



More information about the gradsusr mailing list