ECMWF Rules in definitions: change from constant to read env var

This commit is contained in:
Shahram Najm 2015-04-01 09:56:45 +01:00
parent 1f2701cb72
commit 7a737aeccc
1 changed files with 2 additions and 1 deletions

View File

@ -10,7 +10,8 @@ include "parameters_version.def";
constant definitionFilesVersion="2.0.0.0" : hidden;
constant internalVersion=22 : hidden;
constant UseEcmfConventions = 1: hidden;
UseEcmfConventions = getenv("ECCODES_USE_ECMF_CONVENTIONS","1");
constant defaultTypeOfLevel="unknown" : hidden;
# GRIBEX special boustrophedonic mode. See GRIB-472