[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: udunits and netCDF
- Subject: RE: udunits and netCDF
- Date: Mon, 31 Jan 2005 12:39:57 -0700 (MST)
here's what i found.
your /usr/local/decoders-3.0.7/src/CUSTOMIZE file has the wrong paths:
you have
CPP_NETCDF=/usr/local/netcdf/include
should be
CPP_NETCDF=/usr/local/netcdf-3.6.0/include
again should be
LD_NETCDF='-L/usr/local/netcdf-3.6.0/lib -lnetcdf'
udunits likewise:
CPP_UDUNITS=-I/usr/local/udunits-1.11.7/include
LD_UDUNITS='-L/usr/local/udunits-1.11.7/lib -ludunits'
do these commands:
% cd /usr/local/decoders-3.0.7/src
% rm config.log config.status
% ./configure
% make look for error messages
% make test look for error messages/ perl decoders will fail, that's ok
% make install
% cd ../bin
% ls should have gribdump gribtocdl gribtonc
% UDUNITS_PATH=/usr/local/udunits-1.11.7/etc/udunits.dat;export UDUNITS_PATH
% ls $UDUNITS_PATH should find file udunits.dat
at this point you should be able to run the gribtonc with the invocation
you did before. if it says file not found, prefix with ./
robb...
===============================================================================
Robb Kambic Unidata Program Center
Software Engineer III Univ. Corp for Atmospheric Research
address@hidden WWW: http://www.unidata.ucar.edu/
===============================================================================