Testing: Add test to check chemical/aerosol code tables (after a WMO update)

This commit is contained in:
Shahram Najm 2022-04-22 12:28:13 +01:00
parent 72311781b8
commit 16b71abc9b
1 changed files with 9 additions and 0 deletions

View File

@ -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
# ============================= # =============================