mirror of https://github.com/ecmwf/eccodes.git
chemId/paramId split: further tests
This commit is contained in:
parent
13783417c2
commit
5cf77efff5
|
@ -40,5 +40,10 @@ result=$( ${tools_dir}/grib_get -f -p is_chemical $tempGribB )
|
|||
[ "$result" = "not_found" ]
|
||||
|
||||
|
||||
# Test non-chemical e.g. temperature. Now chem keys are present but unknown
|
||||
${tools_dir}/grib_set -s tablesVersion=32,discipline=0,parameterCategory=0,parameterNumber=0 $sample_grib2 $tempGribA
|
||||
grib_check_key_equals $tempGribA "chemId,chemName,chemShortName" "0 unknown unknown"
|
||||
|
||||
|
||||
# Clean up
|
||||
rm -f $tempGribA $tempGribB
|
||||
|
|
Loading…
Reference in New Issue