This commit is contained in:
Shahram Najm 2023-08-27 11:54:05 +01:00
parent fd254f1564
commit d96bf925e0
2 changed files with 8 additions and 8 deletions

View File

@ -74,14 +74,6 @@ status=$?
set -e set -e
[ $status -eq 1 ] [ $status -eq 1 ]
if [ $ECCODES_ON_WINDOWS -eq 0 ]; then
set +e
${tools_dir}/codes_split_file 9 /dev/null
status=$?
set -e
[ $status -eq 1 ]
fi
set +e set +e
${tools_dir}/codes_split_file 0 $input ${tools_dir}/codes_split_file 0 $input
status=$? status=$?

View File

@ -115,6 +115,14 @@ echo "ECC-278: grib_ls -n namespace..."
${tools_dir}/grib_ls -n geography $ECCODES_SAMPLES_PATH/reduced_ll_sfc_grib2.tmpl ${tools_dir}/grib_ls -n geography $ECCODES_SAMPLES_PATH/reduced_ll_sfc_grib2.tmpl
${tools_dir}/grib_ls -n data $sample_g1 ${tools_dir}/grib_ls -n data $sample_g1
set +e
${tools_dir}/grib_ls -n nosuchnamespace $sample_g1 > $tempText 2>&1
status=$?
set -e
[ $status -ne 0 ]
grep -q "does not contain any key" $tempText
# Angle subdivisions # Angle subdivisions
grib_check_key_equals $sample_g1 angleSubdivisions 1000 grib_check_key_equals $sample_g1 angleSubdivisions 1000
grib_check_key_equals $sample_g2 angleSubdivisions 1000000 grib_check_key_equals $sample_g2 angleSubdivisions 1000000