Local forecast by
"City, St" |
|
|
|
|
|
|
|
|
|
Degrib: How to Install
Step 1: Get the program.
Click here to register and then download
the program. You can download the files without registering; however,
registration is necessary to receive e-mail alerts about bug fixes, new
releases, and NDFD related events.
Step 2: Expand the downloaded file.
MS-Windows: You can download either the ".exe" file or the
".tar.gz" files. I would recommend the "degrib-install.exe"
program as it has a decent installer.
- If you downloaded a ".exe" file, you can run it by double clicking on
it, and then following the dialog boxes.
- If you downloaded the ".tar.gz" file, you will need to un-tar it.
The simplest method is to use
Winzip (http://www.winzip.com).
However if you downloaded the ".tar.gz" file, and are
planning on compiling the source code, then I would recommend using
a combination of cygwin
(http://cygwin.com) and mingw
(http://www.mingw.org/). Cygwin emulates a UNIX
system on top of MS-Windows, and provides Gnu C, and FORTRAN
compilers as well as the ability to un-tar files. The catch is
that executables created using cygwin "typically" are dependent on the
"cygwin1.dll" file. There are ways around that, but the safest way is
to use mingw which only uses MS-Windows libraries.
An alternative solution is to use msys
(http://www.mingw.org/) msys which is based on programs compiled
using mingw. The catch here is that cygwin has a lot
more features than msys.
UNIX / Linux:
- ~taylor> cp /download/degrib-unix.tar.gz .
- ~taylor> gunzip -c degrib-unix.tar.gz | tar -xf -
- ~taylor> ls -F
degrib/ degrib-unix.tar.gz
Step 3: Make the executable.
MS-Windows: You can skip this step, however if you want to compile the
code, see Compiling in Windows. The
reason you can skip this step is that all of the MS-Windows packages come with
the following programs in "degrib/bin":
- degrib.exe (Command line program.)
- tkdegrib.exe (GUI program.)
UNIX / Linux: See Compiling in
UNIX. You need to create:
- ./degrib/bin/degrib (Command line program.)
- ./degrib/bin/tkdegrib (GUI Program. (optional))
Step 4: Testing.
If you are interested in a test suite, some tests and instructions for
performing them are available here:
Test Suites
Where do I go from here?
|