mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-19 03:45:30 +08:00
[g2clib] Remove multiple definitions of templates
Patch from Fedora 23 http://pkgs.fedoraproject.org/cgit/rpms/g2clib.git/tree/g2clib-templates.patch
This commit is contained in:
@@ -52,155 +52,8 @@
|
||||
g2int mappds[MAXPDSMAPLEN];
|
||||
};
|
||||
|
||||
const struct pdstemplate templatespds[MAXPDSTEMP] = {
|
||||
// 4.0: Analysis or Forecast at Horizontal Level/Layer
|
||||
// at a point in time
|
||||
{0,15,0, {1,1,1,1,1,2,1,1,4,1,-1,-4,1,-1,-4} },
|
||||
// 4.1: Individual Ensemble Forecast at Horizontal Level/Layer
|
||||
// at a point in time
|
||||
{1,18,0, {1,1,1,1,1,2,1,1,4,1,-1,-4,1,-1,-4,1,1,1} },
|
||||
// 4.2: Derived Fcst based on whole Ensemble at Horiz Level/Layer
|
||||
// at a point in time
|
||||
{2,17,0, {1,1,1,1,1,2,1,1,4,1,-1,-4,1,-1,-4,1,1} },
|
||||
// 4.3: Derived Fcst based on Ensemble cluster over rectangular
|
||||
// area at Horiz Level/Layer at a point in time
|
||||
{3,31,1, {1,1,1,1,1,2,1,1,4,1,-1,-4,1,-1,-4,1,1,1,1,1,1,1,-4,-4,4,4,1,-1,4,-1,4} },
|
||||
// 4.4: Derived Fcst based on Ensemble cluster over circular
|
||||
// area at Horiz Level/Layer at a point in time
|
||||
{4,30,1, {1,1,1,1,1,2,1,1,4,1,-1,-4,1,-1,-4,1,1,1,1,1,1,1,-4,4,4,1,-1,4,-1,4} },
|
||||
// 4.5: Probablility Forecast at Horiz Level/Layer
|
||||
// at a point in time
|
||||
{5,22,0, {1,1,1,1,1,2,1,1,4,1,-1,-4,1,-1,-4,1,1,1,-1,-4,-1,-4} },
|
||||
// 4.6: Percentile Forecast at Horiz Level/Layer
|
||||
// at a point in time
|
||||
{6,16,0, {1,1,1,1,1,2,1,1,4,1,-1,-4,1,-1,-4,1} },
|
||||
// 4.7: Analysis or Forecast Error at Horizontal Level/Layer
|
||||
// at a point in time
|
||||
{7,15,0, {1,1,1,1,1,2,1,1,4,1,-1,-4,1,-1,-4} },
|
||||
// 4.8: Ave/Accum/etc... at Horiz Level/Layer
|
||||
// in a time interval
|
||||
{8,29,1, {1,1,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.9: Probablility Forecast at Horiz Level/Layer
|
||||
// in a time interval
|
||||
{9,36,1, {1,1,1,1,1,2,1,1,4,1,-1,-4,1,-1,-4,1,1,1,-1,-4,-1,-4,2,1,1,1,1,1,1,4,1,1,1,4,1,4} },
|
||||
// 4.10: Percentile Forecast at Horiz Level/Layer
|
||||
// in a time interval
|
||||
{10,30,1, {1,1,1,1,1,2,1,1,4,1,-1,-4,1,-1,-4,1,2,1,1,1,1,1,1,4,1,1,1,4,1,4} },
|
||||
// 4.11: Individual Ensemble Forecast at Horizontal Level/Layer
|
||||
// in a time interval
|
||||
{11,32,1, {1,1,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.12: Derived Fcst based on whole Ensemble at Horiz Level/Layer
|
||||
// in a time interval
|
||||
{12,31,1, {1,1,1,1,1,2,1,1,4,1,-1,-4,1,-1,-4,1,1,2,1,1,1,1,1,1,4,1,1,1,4,1,4} },
|
||||
// 4.13: Derived Fcst based on Ensemble cluster over rectangular
|
||||
// area at Horiz Level/Layer in a time interval
|
||||
{13,45,1, {1,1,1,1,1,2,1,1,4,1,-1,-4,1,-1,-4,1,1,1,1,1,1,1,-4,-4,4,4,1,-1,4,-1,4,2,1,1,1,1,1,1,4,1,1,1,4,1,4} },
|
||||
// 4.14: Derived Fcst based on Ensemble cluster over circular
|
||||
// area at Horiz Level/Layer in a time interval
|
||||
{14,44,1, {1,1,1,1,1,2,1,1,4,1,-1,-4,1,-1,-4,1,1,1,1,1,1,1,-4,4,4,1,-1,4,-1,4,2,1,1,1,1,1,1,4,1,1,1,4,1,4} },
|
||||
// 4.15: Average, accumulation, extreme values or other statistically-processed values over a
|
||||
// spatial area at a horizontal level or in a horizontal layer at a point in time
|
||||
{15,18,0, {1,1,1,1,1,2,1,1,4,1,-1,-4,1,-1,-4,1,1,1} },
|
||||
// 4.20: Radar Product
|
||||
{20,19,0, {1,1,1,1,1,-4,4,2,4,2,1,1,1,1,1,2,1,3,2} },
|
||||
// 4.30: Satellite Product
|
||||
{30,5,1, {1,1,1,1,1} },
|
||||
// 4.31: Satellite Product
|
||||
{31,5,1, {1,1,1,1,1} },
|
||||
// 4.40: Analysis or forecast at a horizontal level or in a horizontal layer
|
||||
// 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} },
|
||||
// 4.41: Individual ensemble forecast, control and perturbed, at a horizontal level or
|
||||
// in a horizontal layer at a point in time for atmospheric chemical constituents
|
||||
{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
|
||||
// at a horizontal level or in a horizontal layer in a continuous or non-continuous
|
||||
// time interval for atmospheric chemical constituents
|
||||
{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
|
||||
// or in a horizontal layer in a continuous or non-continuous
|
||||
// time interval for atmospheric chemical constituents
|
||||
{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
|
||||
{254,3,0, {1,1,4} },
|
||||
// 4.1000: Cross section of analysis or forecast
|
||||
// at a point in time
|
||||
{1000,9,0, {1,1,1,1,1,2,1,1,4} },
|
||||
// 4.1001: Cross section of Ave/Accum/etc... analysis or forecast
|
||||
// in a time interval
|
||||
{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 forecast
|
||||
// over latitude or longitude
|
||||
{1002,15,0, {1,1,1,1,1,2,1,1,4,1,1,1,4,4,2} },
|
||||
// 4.1100: Hovmoller-type grid w/ no averaging or other
|
||||
// statistical processing
|
||||
{1100,15,0, {1,1,1,1,1,2,1,1,4,1,-1,-4,1,-1,-4} },
|
||||
// 4.1100: Hovmoller-type grid with averaging or other
|
||||
// statistical processing
|
||||
{1101,22,0, {1,1,1,1,1,2,1,1,4,1,-1,-4,1,-1,-4,4,1,1,1,4,1,4} },
|
||||
// 4.32:Simulate (synthetic) Satellite Product
|
||||
{32,10,1, {1,1,1,1,1,2,1,1,2,1} },
|
||||
// 4.44: Analysis or forecast at a horizontal level or in a horizontal layer
|
||||
// at a point in time for Aerosol
|
||||
{44,21,0, {1,1,2,1,-1,-4,-1,-4,1,1,1,2,1,1,2,1,-1,-4,1,-1,-4} },
|
||||
// 4.45: Individual ensemble forecast, control and
|
||||
// perturbed, at a horizontal level or in a horizontal layer
|
||||
// at a point in time for Aerosol
|
||||
{45,24,0, {1,1,2,1,-1,-4,-1,-4,1,1,1,2,1,1,4,1,-1,-4,1,-1,-4,1,1,1} },
|
||||
// 4.46: Ave or Accum or Extreme value at level/layer
|
||||
// at horizontal level or in a horizontal in a continuous or
|
||||
// non-continuous time interval for Aerosol
|
||||
{46,35,1, {1,1,2,1,-1,-4,-1,-4,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.47: Individual ensemble forecast, control and
|
||||
// perturbed, at horizontal level or in a horizontal
|
||||
// in a continuous or non-continuous time interval for Aerosol
|
||||
{47,38,1, {1,1,1,2,1,-1,-4,-1,-4,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} },
|
||||
|
||||
// PDT 4.48
|
||||
// 4.48: Analysis or forecast at a horizontal level or in a horizontal layer
|
||||
// at a point in time for Optical Properties of Aerosol
|
||||
{48,26,0, {1,1,2,1,-1,-4,-1,-4,1,-1,-4,-1,-4,1,1,1,2,1,1,4,1,-1,-4,1,-1,-4} },
|
||||
|
||||
// VALIDATION --- PDT 4.50
|
||||
// 4.50: Analysis or forecast of multi component parameter or
|
||||
// matrix element at a point in time
|
||||
{50,21,0, {1,1,1,1,1,2,1,1,4,1,-1,-4,1,-1,-4,1,1,4,4,4,4} },
|
||||
|
||||
// VALIDATION --- PDT 4.52
|
||||
// 4.52: Analysis or forecast of Wave parameters
|
||||
// at the Sea surface at a point in time
|
||||
{52,15,0, {1,1,1,1,1,1,1,1,2,1,1,4,1,-1,-4} },
|
||||
|
||||
// 4.51: Categorical forecasts at a horizontal level or
|
||||
// in a horizontal layer at a point in time
|
||||
{51,16,1, {1,1,1,1,1,2,1,1,4,1,-1,-4,1,-1,-4,1} },
|
||||
|
||||
// 4.91: Categorical forecasts at a horizontal level or
|
||||
// in a horizontal layer at a point in time
|
||||
// in a continuous or non-continuous time interval
|
||||
{91,36,1, {1,1,2,1,-1,-4,-1,-4,1,-1,-4,-1,-4,1,1,1,2,1,1,4,1,-1,-4,1,-1,-4} },
|
||||
// PDT 4.33 (07/29/2013)
|
||||
// 4.33: Individual ensemble forecast, control, perturbed,
|
||||
// at a horizontal level or in a horizontal layer
|
||||
// at a point in time for simulated (synthetic) Satellite data
|
||||
{33,18,1, {1,1,1,1,1,2,1,1,4,1,2,2,2,-1,-4,1,1,1} },
|
||||
// PDT 4.34 (07/29/2013)
|
||||
// 4.34: Individual ensemble forecast, control, perturbed,
|
||||
// at a horizontal level or in a horizontal layer,in a continuous or
|
||||
// non-continuous interval for simulated (synthetic) Satellite data
|
||||
{34,32,1, {1,1,1,1,1,2,1,1,4,1,2,2,2,-1,-4,1,1,1,2,1,1,1,1,1,1,4,1,1,1,4,1,4} },
|
||||
// PDT 4.53 (07/29/2013)
|
||||
// 4.53: Partitioned parameters at
|
||||
// horizontal level or horizontal layer
|
||||
// at a point in time
|
||||
{53,19,1, {1,1,1,1,4,2,1,1,1,2,1,1,4,1,-1,-4,1,-1,-4} },
|
||||
// PDT 4.54 (07/29/2013)
|
||||
// 4.54: Individual ensemble forecast, control, perturbed,
|
||||
// at a horizontal level or in a horizontal layer
|
||||
// at a point in time for partitioned parameters
|
||||
{54,22,1, {1,1,1,1,4,2,1,1,1,2,1,1,4,1,-1,-4,1,-1,-4,1,1,1} }
|
||||
|
||||
} ;
|
||||
extern const struct pdstemplate templatespds[];
|
||||
|
||||
g2int getpdsindex(g2int number);
|
||||
|
||||
#endif /* _pdstemplates_H */
|
||||
|
||||
Reference in New Issue
Block a user