mirror of https://github.com/ecmwf/eccodes.git
Testing: Add test to check chemical/aerosol code tables (after a WMO update)
This commit is contained in:
parent
72311781b8
commit
16b71abc9b
|
@ -18,6 +18,15 @@ sample2=$ECCODES_SAMPLES_PATH/GRIB2.tmpl
|
||||||
|
|
||||||
latest=`${tools_dir}/grib_get -p tablesVersionLatest $sample2`
|
latest=`${tools_dir}/grib_get -p tablesVersionLatest $sample2`
|
||||||
|
|
||||||
|
# Check latest chemical/aerosol code tables
|
||||||
|
# -----------------------------------------
|
||||||
|
${tools_dir}/grib_set -s tablesVersion=$latest,paramId=217224 $sample2 $temp
|
||||||
|
grib_check_key_equals $temp constituentTypeName "Aceto nitrile CH3CN"
|
||||||
|
|
||||||
|
${tools_dir}/grib_set -s tablesVersion=$latest,paramId=210249 $sample2 $temp
|
||||||
|
grib_check_key_equals $temp aerosolTypeName "Ammonium dry"
|
||||||
|
|
||||||
|
|
||||||
# =============================
|
# =============================
|
||||||
# Deterministic instantaneous
|
# Deterministic instantaneous
|
||||||
# =============================
|
# =============================
|
||||||
|
|
Loading…
Reference in New Issue