This commit is contained in:
Shahram Najm 2024-02-18 13:14:07 +00:00
parent 95bd0bc006
commit f621986f9f
1 changed files with 18 additions and 18 deletions

View File

@ -18,12 +18,12 @@ constant defaultTypeOfLevel="unknown" : hidden;
gribDataQualityChecks = getenv("ECCODES_GRIB_DATA_QUALITY_CHECKS","0") : hidden; gribDataQualityChecks = getenv("ECCODES_GRIB_DATA_QUALITY_CHECKS","0") : hidden;
if (gribDataQualityChecks) { if (gribDataQualityChecks) {
template LIMITS "param_limits.def"; template LIMITS "param_limits.def";
} }
# GRIBEX special boustrophedonic mode. See GRIB-472 # GRIBEX special boustrophedonic mode. See GRIB-472
# If the environment variable is not defined, the key will be 0 # If the environment variable is not defined, the key will be 0
GRIBEX_boustrophedonic = getenv("ECCODES_GRIBEX_BOUSTROPHEDONIC","0") :hidden; GRIBEX_boustrophedonic = getenv("ECCODES_GRIBEX_BOUSTROPHEDONIC","0") :hidden;
constant zero=0 : hidden; constant zero=0 : hidden;
constant one=1 : hidden; constant one=1 : hidden;
@ -61,65 +61,65 @@ transient produceLargeConstantFields = 0 : hidden;
meta libraryVersion library_version() : hidden; meta libraryVersion library_version() : hidden;
lookup[4] kindOfProduct (0,identifier) : hidden; lookup[4] kindOfProduct (0,identifier) : hidden;
# grib templates # grib templates
# `ABCD` is a number, each letter being a byte # `ABCD` is a number, each letter being a byte
if(kindOfProduct == `GRIB`){ if(kindOfProduct == `GRIB`){
lookup[1] GRIBEditionNumber (7,editionNumber) : edition_specific ; lookup[1] GRIBEditionNumber (7,editionNumber) : edition_specific;
template GRIB "grib[GRIBEditionNumber:l]/boot.def" ; template GRIB "grib[GRIBEditionNumber:l]/boot.def" ;
} }
if(kindOfProduct == `BUDG` ){ if(kindOfProduct == `BUDG` ){
template BUDG "budg/boot.def" ; template BUDG "budg/boot.def" ;
} }
if(kindOfProduct == `DIAG`){ if(kindOfProduct == `DIAG`){
template DIAG "diag/boot.def" ; template DIAG "diag/boot.def" ;
} }
if(kindOfProduct == `TIDE`){ if(kindOfProduct == `TIDE`){
template TIDE "tide/boot.def" ; template TIDE "tide/boot.def" ;
} }
if(kindOfProduct == `BUFR`){ if(kindOfProduct == `BUFR`){
template BUFR "bufr/boot.def" ; template BUFR "bufr/boot.def" ;
#constant BUFRstr="BUFR"; #ECC-742 #constant BUFRstr="BUFR"; #ECC-742
#alias identifier=BUFRstr; #alias identifier=BUFRstr;
} }
if(kindOfProduct == `CDFX`){ if(kindOfProduct == `CDFX`){
template CDF "cdf/boot.def" ; template CDF "cdf/boot.def" ;
constant CDFstr="netCDF"; constant CDFstr="netCDF";
alias ls.identifier=CDFstr; alias ls.identifier=CDFstr;
} }
if(kindOfProduct == 17632522 ){ if(kindOfProduct == 17632522 ){
template GTS "gts/boot.def" ; template GTS "gts/boot.def" ;
constant GTSstr="GTS"; constant GTSstr="GTS";
alias ls.identifier=GTSstr; alias ls.identifier=GTSstr;
} }
if(kindOfProduct == `META` ){ if(kindOfProduct == `META` ){
template METAR "metar/boot.def" ; template METAR "metar/boot.def" ;
constant METARstr="METAR"; constant METARstr="METAR";
alias identifier=METARstr; alias identifier=METARstr;
} }
if(kindOfProduct == `TAF ` ){ if(kindOfProduct == `TAF ` ){
template TAF "taf/boot.def" ; template TAF "taf/boot.def" ;
constant TAFstr="TAF"; constant TAFstr="TAF";
alias ls.identifier=TAFstr; alias ls.identifier=TAFstr;
} }
if(kindOfProduct == 2303214662){ if(kindOfProduct == 2303214662){
template HDF5 "hdf5/boot.def" ; template HDF5 "hdf5/boot.def" ;
constant HDF5str="HDF5"; constant HDF5str="HDF5";
alias ls.identifier=HDF5str; alias ls.identifier=HDF5str;
} }
if(kindOfProduct == `WRAP`){ if(kindOfProduct == `WRAP`){
template WRAP "wrap/boot.def" ; template WRAP "wrap/boot.def" ;
constant WRAPstr="WRAP"; constant WRAPstr="WRAP";
alias ls.identifier=WRAPstr; alias ls.identifier=WRAPstr;
} }