[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: udunits and netCDF



On Fri, 28 Jan 2005, Latimer, S wrote:

> I tried using the following command by using your example below (the filename 
> is rucs.000327.rucs.T23Z.PGrbAnl):
>
> [decoders-3.0.7]# bin/gribtocdl -v rucs.000327.rucs.T23Z.PGrbAnl  > 
> rucs.000327.rucs.T23Z.cdl
>
> with the following error:
>
> bash: bin/gribtocdl: No such file or directory

stephen,

cd to the bin dir and do a ls,  sent me the results.  also send me the
results of echo $PATH and pwd.  if there is nothing in bin cd src/gribtonc
and do the above.

robb...



>
> Stephen
>
> Stephen Latimer
> Meteorology Graduate Student
> Texas Tech University ATMO
> Lubbock, TX 79409
>
>
>
> -----Original Message-----
> From: Robb Kambic [mailto:address@hidden]
> Sent: Fri 1/28/2005 14:20
> To: Latimer, S
> Cc: decoders
> Subject: RE: udunits and netCDF
>
> On Fri, 28 Jan 2005, Latimer, S wrote:
>
> > When I tried the 'setenv UDUNITS_PATH /etc/udunits.dat' command, Linux gave 
> > the error: 'command not found'.
>
> must be using a bash shell, try:
>
> % UDUNITS_PATH="substitute path to udunits.dat here";export  UDUNITS_PATH
>
> % ls  $UDUNITS_PATH
>
> should be ls of udunits.dat
>
> robb...
>
>
> >
> > Stephen
> >
> >
> > Stephen Latimer
> > Meteorology Graduate Student
> > Texas Tech University ATMO
> > Lubbock, TX 79409
> >
> >
> >
> > -----Original Message-----
> > From: Robb Kambic [mailto:address@hidden]
> > Sent: Fri 1/28/2005 12:50
> > To: Latimer, S
> > Cc: decoders
> > Subject: RE: udunits and netCDF
> >
> > On Fri, 28 Jan 2005, Latimer, S wrote:
> >
> > > Robb,
> > >
> > >    I did as you prescribed except in the CUSTOMIZE file the UDUNITS_PATH 
> > > did not exist in the file.  Also, there was not a complaint about perl 
> > > after executing 'make test'.  There were no problems doing the make 
> > > install command.
> >
> > it appears as the decoders were build sufficiently but before you can run
> > the decoders, UDUNITS_PATH needs to be set.
> >
> > % setenv UDUNITS_PATH  (udunits install path)/etc/udunits.dat
> >
> > to check, do a
> >
> > % ls $UDUNITS_PATH
> >
> > now you can run the decoders, first create a cdl , netcdf template file
> >
> > decoder path location:
> >
> > bin/gribtocdl -v <raw grib file>  > model.cdl
> >
> > bin/gribtonc -l - model.cdl model.nc < model.raw
> >
> > you might want to copy the netcdf/bin/ncgen to decoders/bin dir
> > if gribtonc is having a problem finding it.
> >
> > robb...
> >
> > >
> > > Stephen
> > >
> > > Stephen Latimer
> > > Meteorology Graduate Student
> > > Texas Tech University ATMO
> > > Lubbock, TX 79409
> > >
> > >
> > >
> > > -----Original Message-----
> > > From: Robb Kambic [mailto:address@hidden]
> > > Sent: Fri 1/28/2005 11:58
> > > To: Latimer, S
> > > Cc: decoders
> > > Subject: RE: udunits and netCDF
> > >
> > >
> > >
> > >
> > > stephen,
> > >
> > > attached is a binary dist for netcdf.  after gunzipping and untarring,
> > > then lets move onto the decoders release.
> > >
> > > in the src/CUSTOMIZE file remove the "# "  and set the path correctly for
> > > the vars CPP_NETCDF, LD_NETCDF, CPP_UDUNITS, LD_UDUNITS and
> > > UDUNITS_PATH.  paths are where the netcdf and udunits are installed on 
> > > your
> > > machine
> > >
> > > remove #  from the lines CC=/usr/bin/gcc and
> > >
> > > run the commads:
> > >
> > > % ./configure
> > > % make
> > > % make test   will complain about perl decoders, don't worry about that
> > > % make install
> > >
> > > robb...
> > >
> > >
> > >
> > >
> > > On Fri, 28 Jan 2005, Latimer, S wrote:
> > >
> > > > The files for the udunits package appeared correctly.
> > > > The netCDF package after gunzipping the /src directory does not appear 
> > > > in the netcdf-3.6.0 package dir.
> > > > Might this have something to do with my version of Linux (9.0)?
> > > >
> > > > Stephen
> > > >
> > > > Stephen Latimer
> > > > Meteorology Graduate Student
> > > > Texas Tech University ATMO
> > > > Lubbock, TX 79409
> > > >
> > > >
> > > >
> > > > -----Original Message-----
> > > > From: Robb Kambic [mailto:address@hidden]
> > > > Sent: Fri 1/28/2005 11:14
> > > > To: Latimer, S
> > > > Cc: decoders
> > > > Subject: RE: udunits and netCDF
> > > >
> > > > On Fri, 28 Jan 2005, Latimer, S wrote:
> > > >
> > > > > I could not find the undunits-1.12.4.tar.Z on the website: 
> > > > > http://my.unidata.ucar.edu/modules.php?name=Downloads
> > > > >
> > > > > The only one I found as binary for linux is the 1.11.7 version.
> > > >
> > > > ok, we can use 1.11.7  version
> > > >
> > > > % cd udunits-1.11.7
> > > > % ls
> > > >
> > > > should be:
> > > >
> > > > bin/      man/      etc/      include/  lib/
> > > >
> > > >
> > > >
> > > >  In the source page, I could not find one for Linux, but only then the 
> > > > latest version is 1.12.2.
> > > > > I did find the netCDF file, but once again after gunzipping and untar 
> > > > > there is not a configure file in the netCDF directory.
> > > >
> > > > after you unzip the file, from that dir do
> > > >
> > > > % cd netcdf-3.6.0/src/
> > > >
> > > > ls should be:
> > > >
> > > > cxx/             nf_test/         configure*       aclocal.m4
> > > > man/             libsrc/          configure.in     COPYRIGHT
> > > > ncgen/           nc_test/         macros.make.in   config.guess*
> > > > win32/           nctest/          rules.make       config.sub*
> > > > f90/             MANIFEST         RELEASE_NOTES    install-sh*
> > > > fortran/         INSTALL          VERSION
> > > > ncdump/          Makefile         README
> > > >
> > > > then do these commands:
> > > >
> > > > % setenv CF
> > > > % setenv CC gcc
> > > > % ./configure
> > > > % make
> > > >
> > > >
> > > >
> > > > >
> > > > > Stephen
> > > > >
> > > > > Stephen Latimer
> > > > > Meteorology Graduate Student
> > > > > Texas Tech University ATMO
> > > > > Lubbock, TX 79409
> > > > >
> > > > >
> > > > >
> > > > > -----Original Message-----
> > > > > From: Robb Kambic [mailto:address@hidden]
> > > > > Sent: Fri 1/28/2005 10:14
> > > > > To: Latimer, S
> > > > > Cc: decoders
> > > > > Subject: RE: udunits and netCDF
> > > > >
> > > > > On Fri, 28 Jan 2005, Latimer, S wrote:
> > > > >
> > > > > >   At this point, I have done only what the below e-mail describes.  
> > > > > > The directory I have put the netCDF and udunits packages is 
> > > > > > /usr/local.  The decoders package has also been located in the same 
> > > > > > directory.  The current problem includes when I come to the point 
> > > > > > to run ./configure on the udunits and netCDF the configure files 
> > > > > > are missing.
> > > > > >
> > > > > > Stephen
> > > > > >
> > > > > > Stephen Latimer
> > > > > > Meteorology Graduate Student
> > > > > > Texas Tech University ATMO
> > > > > > Lubbock, TX 79409
> > > > > >
> > > > > > ________________________________
> > > > > >
> > > > > > From: Robb Kambic [mailto:address@hidden]
> > > > > > Sent: Fri 1/28/2005 09:48
> > > > > > To: Latimer, S
> > > > > > Cc: decoders
> > > > > > Subject: Re: udunits and netCDF
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > > stephen,
> > > > > >
> > > > > > could you tell me your progress? i have time today to work with you.
> > > > > > yesterday was already commited. also, tell me your dir structure 
> > > > > > you plan
> > > > > > on using for netcdf and udunits.
> > > > > >
> > > > > > thanks,
> > > > > > robb...
> > > > > >
> > > > > >
> > > > > > On Thu, 27 Jan 2005, Latimer, S wrote:
> > > > > >
> > > > > > > Robb,
> > > > > > >
> > > > > > >    I downloaded and tried to install the udunits and netCDF 
> > > > > > > packages, but once untarred the packages did not include the src 
> > > > > > > folder (for netCDF) and neither had the configure file for 
> > > > > > > installation.  I downloaded the following files:
> > > > > > >
> > > > > > > netcdf-3.5.1.tar.Z
> > > > >
> > > > > just so we are on the same page, download netcdf-3.6.0.tar.Z the 5.1
> > > > > release is an old release
> > > > >
> > > > >
> > > > > > > udunts-1.11.7.tar.Z
> > > > >
> > > > > download udunits-1.12.4.tar.Z, same 11.7 is old release
> > > > >
> > > > > robb...
> > > > >
> > > > >
> > > >
> > > > ===============================================================================
> > > > Robb Kambic                                Unidata Program Center
> > > > Software Engineer III                      Univ. Corp for Atmospheric 
> > > > Research
> > > > address@hidden             WWW: http://www.unidata.ucar.edu/
> > > > ===============================================================================
> > > >
> > > >
> > > >
> > > >
> > >
> > > ===============================================================================
> > > Robb Kambic                                  Unidata Program Center
> > > Software Engineer III                        Univ. Corp for Atmospheric 
> > > Research
> > > address@hidden               WWW: http://www.unidata.ucar.edu/
> > > ===============================================================================
> > >
> > >
> > >
> >
> > ===============================================================================
> > Robb Kambic                            Unidata Program Center
> > Software Engineer III                          Univ. Corp for Atmospheric 
> > Research
> > address@hidden                 WWW: http://www.unidata.ucar.edu/
> > ===============================================================================
> >
> >
> >
> >
>
> ===============================================================================
> Robb Kambic                              Unidata Program Center
> Software Engineer III                    Univ. Corp for Atmospheric Research
> address@hidden                   WWW: http://www.unidata.ucar.edu/
> ===============================================================================
>
>
>
>

===============================================================================
Robb Kambic                                Unidata Program Center
Software Engineer III                      Univ. Corp for Atmospheric Research
address@hidden             WWW: http://www.unidata.ucar.edu/
===============================================================================