grib2.h   grib2.h 
#ifndef _grib2_H #ifndef _grib2_H
#define _grib2_H #define _grib2_H
#include<stdio.h> #include<stdio.h>
#define G2_VERSION "g2clib-1.2.1" #define G2_VERSION "g2clib-1.2.2"
/* . . . . /* . . . .
// PRGMMR: Gilbert ORG: W/NP11 DATE: 2002-10-25 // PRGMMR: Gilbert ORG: W/NP11 DATE: 2002-10-25
// //
// PROGRAM HISTORY LOG: // PROGRAM HISTORY LOG:
// 2002-10-25 Gilbert // 2002-10-25 Gilbert
// 2009-01-14 Vuong Changed struct template to gtemplate // 2009-01-14 Vuong Changed struct template to gtemplate
// //
// Each element of structure gribfield is defined as: // Each element of structure gribfield is defined as:
// //
// gribfield gfld; // gribfield gfld;
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added


 pdstemplates.h   pdstemplates.h 
skipping to change at line 31 skipping to change at line 31
// corresponding template values will be stored. A negative value in // corresponding template values will be stored. A negative value in
// mappds is used to indicate that the corresponding template entry can // mappds is used to indicate that the corresponding template entry can
// contain negative values. This information is used later when packing // contain negative values. This information is used later when packing
// (or unpacking) the template data values. Negative data values in GRIB // (or unpacking) the template data values. Negative data values in GRIB
// are stored with the left most bit set to one, and a negative number // are stored with the left most bit set to one, and a negative number
// of octets value in mappds[] indicates that this possibility should // of octets value in mappds[] indicates that this possibility should
// be considered. The number of octets used to store the data value // be considered. The number of octets used to store the data value
// in this case would be the absolute value of the negative value in // in this case would be the absolute value of the negative value in
// mappds[]. // mappds[].
// //
// 2005-12-08 Gilbert - Allow negative scale factors and limits for // 2005-12-08 Gilbert Allow negative scale factors and limits for
// Templates 4.5 and 4.9 // Templates 4.5 and 4.9
// 2009-12-15 Vuong Added Product Definition Template 4.31 // 2009-12-15 Vuong Added Product Definition Template 4.31
// Added Product Definition Template 4.15 // Added Product Definition Template 4.15
// 2010-08-03 Vuong Added Product Definition Template 4.40,4.41,4.42,4 .43 // 2010-08-03 Vuong Added Product Definition Template 4.40,4.41,4.42,4 .43
// 2010-12-08 Vuong Corrected Definition Template 4.42,4.43
// //
//$$$ //$$$
#define MAXPDSTEMP 29 // maximum number of templates #define MAXPDSTEMP 29 // maximum number of templates
#define MAXPDSMAPLEN 200 // maximum template map length #define MAXPDSMAPLEN 200 // maximum template map length
struct pdstemplate struct pdstemplate
{ {
g2int template_num; g2int template_num;
g2int mappdslen; g2int mappdslen;
skipping to change at line 114 skipping to change at line 115
{31,5,1, {1,1,1,1,1} }, {31,5,1, {1,1,1,1,1} },
// 4.40: Analysis or forecast at a horizontal level or in a ho rizontal layer // 4.40: Analysis or forecast at a horizontal level or in a ho rizontal layer
// at a point in time for atmospheric chemical constituents // at a point in time for atmospheric chemical constituents
{40,16,0, {1,1,2,1,1,1,2,1,1,4,1,-1,-4,1,-1,-4} }, {40,16,0, {1,1,2,1,1,1,2,1,1,4,1,-1,-4,1,-1,-4} },
// 4.41: Individual ensemble forecast, control and perturbed, at a horizontal level or // 4.41: Individual ensemble forecast, control and perturbed, at a horizontal level or
// in a horizontal layer at a point in time for atmospheric ch emical constituents // in a horizontal layer at a point in time for atmospheric ch emical constituents
{41,19,0, {1,1,2,1,1,1,2,1,1,4,1,-1,-4,1,-1,-4,1,1,1} }, {41,19,0, {1,1,2,1,1,1,2,1,1,4,1,-1,-4,1,-1,-4,1,1,1} },
// 4.42: Average, accumulation, and/or extreme values or other statistically-processed values // 4.42: Average, accumulation, and/or extreme values or other statistically-processed values
// at a horizontal level or in a horizontal layer in a continu ous or non-continuous // at a horizontal level or in a horizontal layer in a continu ous or non-continuous
// time interval for atmospheric chemical constituents // time interval for atmospheric chemical constituents
{42,24,1, {1,1,2,1,1,1,2,1,1,4,1,-1,-4,1,-1,-4,2,1,1,1,1,1,1,4} }, {42,30,1, {1,1,2,1,1,1,2,1,1,4,1,-1,-4,1,-1,-4,2,1,1,1,1,1,1,4,1,1 ,1,4,1,4} },
// 4.43: Individual ensemble forecast, control and perturbed, at a horizontal level // 4.43: Individual ensemble forecast, control and perturbed, at a horizontal level
// or in a horizontal layer in a continuous or non-continuous // or in a horizontal layer in a continuous or non-continuous
// time interval for atmospheric chemical constituents // time interval for atmospheric chemical constituents
{43,27,1, {1,1,2,1,1,1,2,1,1,4,1,-1,-4,1,-1,-4,1,1,1,2,1,1,1,1,1,1 ,4} }, {43,33,1, {1,1,2,1,1,1,2,1,1,4,1,-1,-4,1,-1,-4,1,1,1,2,1,1,1,1,1,1 ,4,1,1,1,4,1,4} },
// 4.254: CCITT IA5 Character String // 4.254: CCITT IA5 Character String
{254,3,0, {1,1,4} }, {254,3,0, {1,1,4} },
// 4.1000: Cross section of analysis or forecast // 4.1000: Cross section of analysis or forecast
// at a point in time // at a point in time
{1000,9,0, {1,1,1,1,1,2,1,1,4} }, {1000,9,0, {1,1,1,1,1,2,1,1,4} },
// 4.1001: Cross section of Ave/Accum/etc... analysis or forec ast // 4.1001: Cross section of Ave/Accum/etc... analysis or forec ast
// in a time interval // in a time interval
{1001,16,0, {1,1,1,1,1,2,1,1,4,4,1,1,1,4,1,4} }, {1001,16,0, {1,1,1,1,1,2,1,1,4,4,1,1,1,4,1,4} },
// 4.1001: Cross section of Ave/Accum/etc... analysis or forec ast // 4.1001: Cross section of Ave/Accum/etc... analysis or forec ast
// over latitude or longitude // over latitude or longitude
 End of changes. 4 change blocks. 
4 lines changed or deleted 5 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/