Testing: Add test to check chemical/aerosol code tables (after a WMO update)
@@ -18,6 +18,15 @@ sample2=$ECCODES_SAMPLES_PATH/GRIB2.tmpl
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
# =============================
