diff --git a/tests/grib2_chemicals_aerosols.sh b/tests/grib2_chemicals_aerosols.sh index d28cebabd..c817327eb 100755 --- a/tests/grib2_chemicals_aerosols.sh +++ b/tests/grib2_chemicals_aerosols.sh @@ -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 # =============================