[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
quick mod for gb2prob.c
- Subject: quick mod for gb2prob.c
- Date: Wed, 25 Apr 2007 16:53:11 -0600
Scott / Steve,
The SREF grib2 fields on NOAAPORT have WXTP, WXTR, WXTZ, WXTS grids that
can generate blank space within the parameter name in gb2_prob in
nagrib2.
Under "case 2", the parameter name is appended with possible blanks in
the upper range due to the format specifier %4d rather than %04d. I
changed the sprintf statement:
sprintf( cpds, "%04d%4d", (int) lower, (int) upper );
to:
sprintf( cpds, "%04d%04d", (int) lower, (int) upper );
I can send you the sample data and the tracking form if needed.
Steve
--
Steve Chiswell <address@hidden>
Unidata