mirror of https://github.com/ecmwf/eccodes.git
ECC-1271: Change location of local templates
This commit is contained in:
parent
2a92252dee
commit
41aa47edbf
|
@ -34,8 +34,9 @@ codetable[2] gridDefinitionTemplateNumber ('3.1.table',masterDir,localDir) =0 :
|
||||||
meta gridDefinitionDescription codetable_title(gridDefinitionTemplateNumber);
|
meta gridDefinitionDescription codetable_title(gridDefinitionTemplateNumber);
|
||||||
|
|
||||||
alias isRotatedGrid=zero;
|
alias isRotatedGrid=zero;
|
||||||
|
|
||||||
if (gridDefinitionTemplateNumber >= 32768) {
|
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 {
|
} else {
|
||||||
template gridDefinitionSection "grib2/template.3.[gridDefinitionTemplateNumber:l].def";
|
template gridDefinitionSection "grib2/template.3.[gridDefinitionTemplateNumber:l].def";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue