Support for GRIB EFAS data (See ECC-562)

This commit is contained in:
Shahram Najm 2017-11-14 10:39:55 +00:00
parent 2fc6263389
commit dd9cf869e1
2 changed files with 13 additions and 0 deletions

View File

@ -17,6 +17,7 @@ constant grib2divider = 1000000;
alias extraDimensionPresent=zero;
alias is_tigge = zero;
alias is_s2s = zero;
transient is_efas = 0;
transient angularPrecision=grib2divider; # micro degrees
meta gts_header gts_header() : no_copy,hidden,read_only;

View File

@ -199,6 +199,12 @@ static int pack_long(grib_accessor* a, const long* val, size_t* len)
case 47: /* EPS aerosol */
productDefinitionTemplateNumberNew=45;
break;
case 72: /* non-EPS post-processing */
productDefinitionTemplateNumberNew=70;
break;
case 73: /* EPS post-processing */
productDefinitionTemplateNumberNew=71;
break;
case 0:
case 1:
case 2:
@ -250,6 +256,12 @@ static int pack_long(grib_accessor* a, const long* val, size_t* len)
case 45: /* EPS aerosol */
productDefinitionTemplateNumberNew=47;
break;
case 70: /* non-EPS post-processing */
productDefinitionTemplateNumberNew=72;
break;
case 71: /* EPS post-processing */
productDefinitionTemplateNumberNew=73;
break;
case 7:
case 8:
case 9: