ECC-1573: Test

This commit is contained in:
Shahram Najm 2023-06-16 22:33:14 +01:00
parent d3bc8d8487
commit d441e094c1
3 changed files with 4 additions and 5 deletions

View File

@ -50,7 +50,7 @@ list(APPEND test_c_bins
grib_copy_message
grib_packing_order
grib_sh_imag
grib_sh_spectral_complex
grib_spectral
grib_lam_bf
grib_lam_gp)
@ -126,7 +126,7 @@ if( HAVE_BUILD_TOOLS )
bufr_rdbSubTypes
grib_efas
grib_sh_imag
grib_sh_spectral_complex
grib_spectral
grib_levtype
grib_typeOfLevel
grib_grid_unstructured
@ -443,7 +443,6 @@ else()
julian
bufr_check_descriptors
grib_sh_imag
grib_sh_spectral_complex
grib_2nd_order_numValues
grib_sh_ieee64)

View File

@ -15,13 +15,13 @@ label="grib_spectral_test"
output=output.$label.grib
input_complex=$ECCODES_SAMPLES_PATH/sh_ml_grib2.tmpl
$EXEC ${test_dir}/grib_sh_spectral_complex $input_complex $output
$EXEC ${test_dir}/grib_spectral $input_complex $output
rm -f $output
# Now try spectral simple
input_simple=$label.simple.grib
${tools_dir}/grib_set -rs packingType=spectral_simple $input_complex $input_simple
$EXEC ${test_dir}/grib_sh_spectral_complex $input_simple $output
$EXEC ${test_dir}/grib_spectral $input_simple $output
rm -f $output $input_simple