ECC-1271: Change location of local templates

This commit is contained in:
Shahram Najm 2021-08-05 18:38:18 +01:00
parent 2a92252dee
commit 41aa47edbf
2 changed files with 3 additions and 2 deletions

View File

@ -34,10 +34,11 @@ codetable[2] gridDefinitionTemplateNumber ('3.1.table',masterDir,localDir) =0 :
meta gridDefinitionDescription codetable_title(gridDefinitionTemplateNumber);
alias isRotatedGrid=zero;
if (gridDefinitionTemplateNumber >= 32768) {
template gridDefinitionSection "grib2/local/local.[centreForLocal:l].template.3.[gridDefinitionTemplateNumber:l].def";
template gridDefinitionSection "grib2/local/[centreForLocal]/template.3.[gridDefinitionTemplateNumber:l].def";
} else {
template gridDefinitionSection "grib2/template.3.[gridDefinitionTemplateNumber:l].def";
template gridDefinitionSection "grib2/template.3.[gridDefinitionTemplateNumber:l].def";
}
if(PLPresent){