| 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 | |
|