Skip to content

Commit 8899c70

Browse files
committed
Definitions: Remove obsolete rule re disableGrib1LocalSection
1 parent 9ccb71f commit 8899c70

File tree

1 file changed

+7
-9
lines changed

1 file changed

+7
-9
lines changed

Diff for: definitions/grib2/section.4.def

+7-9
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,11 @@ alias numberOfCoordinatesValues=NV;
1515
# For table 4.5, code 150 Generalized vertical height coordinate
1616
alias numberOfVerticalGridDescriptors=NV ;
1717

18-
# Product Definition Template Number
19-
2018
transient neitherPresent = 0;
2119

22-
if (centre==7 || centre==46) {
23-
alias disableGrib1LocalSection=true;
24-
}
20+
# if (centre==7 || centre==46) {
21+
# alias disableGrib1LocalSection=true;
22+
# }
2523

2624
concept datasetForLocal(unknown) {
2725
"tigge" = {productionStatusOfProcessedData=4;}
@@ -70,9 +68,9 @@ if (section2Used == 1) {
7068
transient genVertHeightCoords = 0;
7169

7270
if (productDefinitionTemplateNumber >= 32768) {
73-
template productDefinition "grib2/local/[centreForLocal]/template.4.[productDefinitionTemplateNumber:l].def";
71+
template productDefinition "grib2/local/[centreForLocal]/template.4.[productDefinitionTemplateNumber:l].def";
7472
} else {
75-
template productDefinition "grib2/templates/template.4.[productDefinitionTemplateNumber:l].def";
73+
template productDefinition "grib2/templates/template.4.[productDefinitionTemplateNumber:l].def";
7674
}
7775

7876
if (defined(marsStream) && defined(marsType)) {
@@ -106,9 +104,9 @@ if (genVertHeightCoords) {
106104
}
107105
else {
108106
if (NV == 0){
109-
transient PVPresent = 0;
107+
transient PVPresent = 0;
110108
} else {
111-
transient PVPresent = 1;
109+
transient PVPresent = 1;
112110
}
113111
# See GRIB-547
114112
if (PVPresent || NV>0){

0 commit comments

Comments
 (0)