Remove key angularPrecision. Also move true/false down to metar/taf

This commit is contained in:
Shahram Najm 2020-02-19 11:49:50 +00:00
parent 9bda76d0b9
commit c190be37de
10 changed files with 8707 additions and 8619 deletions

View File

@ -28,8 +28,6 @@ GRIBEX_boustrophedonic = getenv("ECCODES_GRIBEX_BOUSTROPHEDONIC","0") :hidden;
constant zero=0 : hidden; constant zero=0 : hidden;
constant one=1 : hidden; constant one=1 : hidden;
constant hundred=100 : hidden; constant hundred=100 : hidden;
constant true="true" :hidden;
constant false="false" : hidden;
transient truncateLaplacian=0 : hidden; transient truncateLaplacian=0 : hidden;
constant marsDir="mars" : no_copy,hidden; constant marsDir="mars" : no_copy,hidden;
constant present=1 : hidden; constant present=1 : hidden;

View File

@ -55,7 +55,6 @@ alias bitmapSectionPresent=bitmapPresent;
alias geography.bitmapPresent=bitmapPresent; alias geography.bitmapPresent=bitmapPresent;
alias missingValuesPresent=bitmapPresent : read_only; alias missingValuesPresent=bitmapPresent : read_only;
transient angleSubdivisions=1000; # milli degrees transient angleSubdivisions=1000; # milli degrees
alias angularPrecision=angleSubdivisions : hidden;
if(gridDescriptionSectionPresent){ if(gridDescriptionSectionPresent){
template section_2 "grib1/section.2.def" ; template section_2 "grib1/section.2.def" ;

View File

@ -18,7 +18,6 @@ alias is_tigge = zero;
alias is_s2s = zero; alias is_s2s = zero;
transient is_efas = 0; transient is_efas = 0;
transient angleSubdivisions=grib2divider; # micro degrees transient angleSubdivisions=grib2divider; # micro degrees
alias angularPrecision=angleSubdivisions : hidden;
meta gts_header gts_header() : no_copy,hidden,read_only; meta gts_header gts_header() : no_copy,hidden,read_only;
meta gts_TTAAii gts_header(20,6) : no_copy,hidden,read_only; meta gts_TTAAii gts_header(20,6) : no_copy,hidden,read_only;

View File

@ -30,10 +30,8 @@ unsigned[4] subdivisionsOfBasicAngle = missing() : can_be_missing;
transient angleDivisor = 1000000; transient angleDivisor = 1000000;
when (missing(subdivisionsOfBasicAngle) || subdivisionsOfBasicAngle == 0) { when (missing(subdivisionsOfBasicAngle) || subdivisionsOfBasicAngle == 0) {
set angleDivisor = 1000000; set angleDivisor = 1000000;
set angularPrecision = 1000000;
} else { } else {
set angleDivisor = subdivisionsOfBasicAngle; set angleDivisor = subdivisionsOfBasicAngle;
set angularPrecision = subdivisionsOfBasicAngle;
} }
# La1 - latitude of first grid point # La1 - latitude of first grid point

View File

@ -14,7 +14,6 @@ alias extraDimensionPresent=zero;
alias is_tigge = zero; alias is_tigge = zero;
alias is_s2s = zero; alias is_s2s = zero;
transient angleSubdivisions=grib3divider; # micro degrees transient angleSubdivisions=grib3divider; # micro degrees
alias angularPrecision=angleSubdivisions : hidden;
meta gts_header gts_header() : no_copy,hidden,read_only; meta gts_header gts_header() : no_copy,hidden,read_only;
meta gts_TTAAii gts_header(20,6) : no_copy,hidden,read_only; meta gts_TTAAii gts_header(20,6) : no_copy,hidden,read_only;

View File

@ -32,10 +32,8 @@ unsigned[4] subdivisionsOfBasicAngle = missing() : can_be_missing;
transient angleDivisor = 1000000; transient angleDivisor = 1000000;
when (missing(subdivisionsOfBasicAngle) || subdivisionsOfBasicAngle == 0) { when (missing(subdivisionsOfBasicAngle) || subdivisionsOfBasicAngle == 0) {
set angleDivisor = 1000000; set angleDivisor = 1000000;
set angularPrecision = 1000000;
} else { } else {
set angleDivisor = subdivisionsOfBasicAngle; set angleDivisor = subdivisionsOfBasicAngle;
set angularPrecision = subdivisionsOfBasicAngle;
} }
# Note: Basic angle of the initial production domain and subdivisions of this basic angle are # Note: Basic angle of the initial production domain and subdivisions of this basic angle are

View File

@ -9,6 +9,8 @@
constant normal="NORMAL"; constant normal="NORMAL";
constant correction="CORRECTION"; constant correction="CORRECTION";
constant true="true" :hidden;
constant false="false" : hidden;
#meta out sprintf("metar_%s.xml",count); #meta out sprintf("metar_%s.xml",count);
alias temperatureAndDewpointPresent=zero; alias temperatureAndDewpointPresent=zero;
@ -155,4 +157,3 @@ meta lengthOfMessage evaluate( endOfMessage-startOfMessage);
meta md5Headers md5(startOfMessage,lengthOfMessage); meta md5Headers md5(startOfMessage,lengthOfMessage);
alias ls.totalLength=totalLength; alias ls.totalLength=totalLength;

View File

@ -9,6 +9,8 @@
constant normal="NORMAL"; constant normal="NORMAL";
constant correction="CORRECTION"; constant correction="CORRECTION";
constant true="true" :hidden;
constant false="false" : hidden;
#meta out sprintf("metar_%s.xml",count); #meta out sprintf("metar_%s.xml",count);
alias temperatureAndDewpointPresent=zero; alias temperatureAndDewpointPresent=zero;

File diff suppressed because it is too large Load Diff

4663
tests/keys

File diff suppressed because it is too large Load Diff