diff --git a/tests/codes_compare_keys.sh b/tests/codes_compare_keys.sh index 44fed25d2..9a2a39aef 100755 --- a/tests/codes_compare_keys.sh +++ b/tests/codes_compare_keys.sh @@ -74,7 +74,7 @@ ${test_dir}/codes_compare_keys $sample_spectral $sample_spectral enorm,avg sample1=$ECCODES_SAMPLES_PATH/GRIB1.tmpl tempGribA=temp.${label}.A.grib tempGribB=temp.${label}.B.grib -${tools_dir}/grib_set -s localDefinitionNumber=16,verifyingMonth=6 $sample1 $tempGribA +${tools_dir}/grib_set -s localDefinitionNumber=16,verifyingMonth=2 $sample1 $tempGribA ${tools_dir}/grib_set -s localDefinitionNumber=16,verifyingMonth=5 $sample1 $tempGribB set +e ${test_dir}/codes_compare_keys $tempGribA $tempGribB endOfInterval > $tempLog 2>&1 diff --git a/tests/codes_get_string.sh b/tests/codes_get_string.sh index 54d8aba96..011224253 100755 --- a/tests/codes_get_string.sh +++ b/tests/codes_get_string.sh @@ -11,10 +11,15 @@ . ./include.ctest.sh label="codes_get_string_test" +tempGrib=temp.$label.grib tempText=temp.$label.txt input=$ECCODES_SAMPLES_PATH/GRIB1.tmpl -$EXEC ${test_dir}/codes_get_string $input dataDate 2> $tempText +$EXEC ${test_dir}/codes_get_string $input dataDate + +${tools_dir}/grib_set -s marsType=s3,marsStream=mpic $input $tempGrib +$EXEC ${test_dir}/codes_get_string $tempGrib dayOfTheYearDate # 2> $tempText + input=$data_dir/reduced_latlon_surface.grib2 keys="identifier projString bitmap class year gridDefinitionDescription