mirror of https://github.com/ecmwf/eccodes.git
Testing: speed up grib1 test
This commit is contained in:
parent
652a05fa78
commit
45d5e1d395
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue