NOAA logo-Select to go to the NOAA homepage
NOAA / NWS's Meteorological Development Laboratory   
  Select to go to the NWS homepage
GRIB1 logo Degrib (NDFD GRIB2 Decoder) GRIB2 logo
Local forecast by
"City, St"
Subject: Degrib 1.27
Date: Tue, 09 Sep 2003 21:11:22 -0400
From: "Arthur.Taylor"
Organization: DOC/NOAA/NWS - National Weather Service


You all have the unique distinction of being registered on my degrib
(aka NDFD_GRIB2Decoder) mailing list (all 167 of us) (I'd like to
welcome: matt, cpeters, burnst-c, khkiley, chip, bowers,
randall.fuehrer, archer_scott, duncombr, arthur.strutzenberg,
cris.castello, Bonnie_E_Reed, apatrick, markv, admin, quentins, dbl,, lindinbrook, dbuell, ddb100, akrherz, deyre, fisherh, rovero,
provero, msarazin, peterr, joearcher, chaw, tony.simmers,
anneliese.sherer, charles.keller, steven.sigler, doug.marcy,
roger.lamoni, dave.toronto, peggy.glitto)

Please let me know (email me) if you want to unregister.
The latest version of the program is on:

----------- General News.
1) Keep in mind that on Oct 1, 2003 MaxT, MinT, and PoP12 are going to
be going operational. What this means is that I think their URL's are
going to change. I don't know where they are going to go yet, so the
current version of degrib isn't ready for the change. I should know in
time for "degrib 1.30"

2) I'd like to thank everyone who came to the NDFD Technical Workshop
(8/13). I thought it went well, and it was nice to see some of the
people who are using degrib. I hope you found the workshop useful.

3) I'd like to thank the WFO in Glasgow MT for hosting the Great Divide
Workshop (8/26-8/28), and for inviting me to share my small little
program with them. I got quite a bit out of it, from seeing things
through the eyes of a forecaster, to realizing that verification
(gridded in particular) is a hot topic.

4) degrib turned 1 year old on 8/26/2003, and I got to enjoy a great
tour of the Fort Peck Dam (near Glasgow Montana) in celebration. :-)

5) I found out that degrib has been obliquely mentioned in 2 NWS focus
A) 6/2/2003: (thanks Dave
Brown, David Runyan and Matt Parks for the kind words.)
B) 9/8/2003: (good luck
Roger Lamoni (WFO Reno WCM) with the GIS meeting in December. I'll be
thinking of you, and would appreciate it if someone would let me know
how it goes.)

6) For those familiar with the email list,
I'd like to thank Daryl (akrherz) for his kind words about degrib, which
filtered back to me via a member of that list.

----------- News about this release:
I just wanted to let you all know that I have just finished putting
together version "1.27" (last one that I announced was "1.25" on

This release is mainly focused on the new -Data and -DP options, along
with a "web.tcl" script. (Note 1: If you are not interested in CGI, or
automating the download of NDFD data, you may want to wait for "1.30")
(Note 2: The -Data and -DP options are NEW. In theory the -DP should
give the same results as -P, but there may be some bugs that haven't
been ironed out.)

1) Introduced a -Data option. This option dumps the GRIB2 data to
either a set of .flt files, or what I am referring to as a single "data
cube" (I believe the "data cube" can be used by GrADS with a good
control file and I shall work on that in the future.) In addition to
dumping all the grids, it creates an index file (.flx or .ind), which
has all the meta data from the GRIB2 file. (see
"./degrib/bin/MakeData.tcl" or "./degrib/bin/") The
combination of the binary float file and the (meta data / index file),
preserves all the information in the GRIB2 file in a non-compressed

2) Introduced a -DP option, which given an index file (from the -Data
option) allows degrib to probe the set of .flx files or the single data
cube (the index file references the .flx or data cube files). The -DP
option is very similar to the -P option, except -DP doesn't have to
uncompress anything, so it is a lot faster. CGI programs using the -P
option were too slow, hopefully the -DP option will improve things.

3) Created "./degrib/bin/web.tcl" which is a means of automating the
download of data from the http sites. It uses "tcldegrib" (which I've
reintroduced), which doesn't need tk, so it can be scripted and put in
cron jobs. From a batch script or dos-prompt (command prompt), simply
type "tcldegrib web.tcl conus,maxt,mint,pop12" or "tcldegrib web.tcl
conus,all". Similarly from Unix (assuming you compiled with tcl) type
either "web.tcl conus,all" or "tcldegrib web.tcl conus,all"

4) Added release notes to the Web Site, along with pictures of the
various sectors.

5) Improved usage messages by having a different message depending on
the "command option". This is so the user doesn't have to read as much.

6) Switched to one command option (-C -I -P -V -Data -DP) per run, and
removed dependence on knowledge of the length of the GRIB2 file. This
was so I could get closer to pipeing the grib file into degrib.

7) Added "MaxT_Tropical.colortable" for use with imageGen. This is
intended for Tropical locales like PR. In addition, updated imageGen
data to reflect the current data on the NDFD web-site.

8) Validated that Radius of Earth is now correctly encoded as "6371.2"
km (thanks Tim).

9) Some minor bug fixes with regards to parsing and probing the Wx


As always, I tested this release on my PC (win 2000), a Linux machine, a
HP-Unix machine, and an AIX-Unix (machine). Although I may have missed
something in my testing, it should at least compile, and run for some of
the test cases. For those of you with access to the NWS NCEP machine,
my current version is in: /nfsuser/g06/we25at/degrib (on snow/frost).
For those with access to MDL's GDP or NHDW machines, see: /home/taylor/
(./degrib/bin/degrib.lin for linux or ./degrib/bin/degrib.hp for Hp's)

Please let me know if you have problems.

(Art in MDT (Mountain Daylight Time) :-) )
("Big A" when talking to Glasgow's WCM :-) )

    US Dept of Commerce
    National Oceanic and Atmospheric Administration
    National Weather Service
    Meteorological Development Laboratory
    1325 East West Highway
    Silver Spring, MD 20910
    Page last Modified: August 10, 2009.
Degrib Questions? Arthur Taylor
NDFD Questions?
XML Questions? Paul Hershberg & John Schattel
Information Quality
Privacy Policy
Freedom of Information Act (FOIA)
About Us
Career Opportunities