Testing: speed up grib1 test

This commit is contained in:
Shahram Najm 2018-01-08 17:53:40 +00:00
parent 652a05fa78
commit 45d5e1d395
1 changed files with 4 additions and 4 deletions

View File

@ -34,14 +34,14 @@ localDefinitions=`find ${def_dir}/grib1/ -name 'local.98.*def' | sed -e 's:.*/::
for l1 in $localDefinitions
do
${tools_dir}/grib_set -s localDefinitionNumber=$l1 $temp locx.grib1
${tools_dir}/grib_filter $$_f locx.grib1
${tools_dir}/grib_set -M -s localDefinitionNumber=$l1 $temp locx.grib1
${tools_dir}/grib_filter -M $$_f locx.grib1
for l2 in $localDefinitions
do
if [ $l1 -ne $l2 ]; then
#echo "$l1 -> $l2"
${tools_dir}/grib_set -s localDefinitionNumber=$l2 locx.grib1 locy.grib1
${tools_dir}/grib_filter $$_f locy.grib1
${tools_dir}/grib_set -M -s localDefinitionNumber=$l2 locx.grib1 locy.grib1
${tools_dir}/grib_filter -M $$_f locy.grib1
fi
done
done