pdstemplates.h(3) | NCEPLIBS-g2c | pdstemplates.h(3) |
NAME¶
pdstemplates.h - This inculde file contains info on all the available GRIB2 Product Definition Templates used in Section 4 (PDS).
SYNOPSIS¶
#include 'grib2.h'
Data Structures¶
struct pdstemplate
Struct for PDS template.
Macros¶
#define MAXPDSMAPLEN 200
maximum template map length #define MAXPDSTEMP 47
maximum number of templates
Variables¶
const struct pdstemplate templatespds
[MAXPDSTEMP]
Date for struct for PDS template.
Detailed Description¶
This inculde file contains info on all the available GRIB2 Product Definition Templates used in Section 4 (PDS).
The information decribing each template is stored in the pdstemplate structure defined below.
Each Template has three parts: The number of entries in the template (mappdslen); A map of the template (mappds), which contains the number of octets in which to pack each of the template values; and a logical value (needext) that indicates whether the Template needs to be extended. In some cases the number of entries in a template can vary depending upon values specified in the 'static' part of the template. ( See Template 4.3 as an example )
Note
PROGRAM HISTORY LOG:
- 2005-12-08 Gilbert Allow negative scale factors and limits for Templates 4.5 and 4.9
- 2009-12-15 Vuong Added Product Definition Template 4.31 Added Product Definition Template 4.15
- 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
- 2010-12-08 Vuong Corrected Definition Template 4.42,4.43
- 2012-03-29 Vuong Added Templates 4.44,4.45,4.46,4.47,4.48,4.50, 4.51,4.91,4.32 and 4.52
- 2013-08-05 Vuong Corrected 4.91 and added Templates 4.33,4.34,4.53,4.54
- 2015-10-07 Vuong Added Templates 4.57, 4.60, 4.61 and allow a forecast time to be negative
Author
Date
Definition in file pdstemplates.h.
Data Type Documentation¶
struct pdstemplate¶
Struct for PDS template.
Definition at line 55 of file pdstemplates.h.
Data Fields:
g2int mappdslen
g2int needext
g2int template_num
Macro Definition Documentation¶
#define MAXPDSMAPLEN 200¶
maximum template map length
Definition at line 50 of file pdstemplates.h.
#define MAXPDSTEMP 47¶
maximum number of templates
Definition at line 49 of file pdstemplates.h.
Variable Documentation¶
const struct pdstemplate templatespds[MAXPDSTEMP]¶
Date for struct for PDS template.
Definition at line 1 of file pdstemplates.h.
Referenced by getpdsindex(), and getpdstemplate().
Author¶
Generated automatically by Doxygen for NCEPLIBS-g2c from the source code.
Tue May 3 2022 | Version 1.6.4 |