mirror of https://github.com/ecmwf/eccodes.git
Added BUFR key masterTablesVersionNumberLatest which is always the latest WMO version
This commit is contained in:
parent
6b9fbfd8cb
commit
9506d21df6
|
@ -10,6 +10,10 @@
|
|||
lookup[1] ed (7,editionNumber);
|
||||
transient missingValue=999999 : hidden;
|
||||
|
||||
# This gets updated twice a year by WMO.
|
||||
# See http://www.wmo.int/pages/prog/www/WMOCodes/WMO306_vI2/LatestVERSION/LatestVERSION.html
|
||||
constant masterTablesVersionNumberLatest = 29;
|
||||
|
||||
#negative value=not used
|
||||
transient inputDelayedDescriptorReplicationFactor={-1} : hidden;
|
||||
#negative value=not used
|
||||
|
|
|
@ -24,8 +24,11 @@ REDIRECT=/dev/null
|
|||
|
||||
blacklist=masterTablesVersionNumber
|
||||
|
||||
# Get the latest BUFR master tables version
|
||||
sample=$ECCODES_SAMPLES_PATH/BUFR4.tmpl
|
||||
latest_wmo_version=`${tools_dir}/bufr_get -p masterTablesVersionNumberLatest $sample`
|
||||
|
||||
# In version 29, some key names changed. So blacklist them
|
||||
latest_wmo_version=29
|
||||
blacklist=$blacklist",bandwidthCorrectionCoefficient1ForAtovs,bandwidthCorrectionCoefficient2ForAtovs,tovsOrAtovsProductQualifier"
|
||||
|
||||
# The units for centre also changed
|
||||
|
|
Loading…
Reference in New Issue