mirror of https://github.com/ecmwf/eccodes.git
ECC-1573: Test
This commit is contained in:
parent
d3bc8d8487
commit
d441e094c1
|
@ -50,7 +50,7 @@ list(APPEND test_c_bins
|
||||||
grib_copy_message
|
grib_copy_message
|
||||||
grib_packing_order
|
grib_packing_order
|
||||||
grib_sh_imag
|
grib_sh_imag
|
||||||
grib_sh_spectral_complex
|
grib_spectral
|
||||||
grib_lam_bf
|
grib_lam_bf
|
||||||
grib_lam_gp)
|
grib_lam_gp)
|
||||||
|
|
||||||
|
@ -126,7 +126,7 @@ if( HAVE_BUILD_TOOLS )
|
||||||
bufr_rdbSubTypes
|
bufr_rdbSubTypes
|
||||||
grib_efas
|
grib_efas
|
||||||
grib_sh_imag
|
grib_sh_imag
|
||||||
grib_sh_spectral_complex
|
grib_spectral
|
||||||
grib_levtype
|
grib_levtype
|
||||||
grib_typeOfLevel
|
grib_typeOfLevel
|
||||||
grib_grid_unstructured
|
grib_grid_unstructured
|
||||||
|
@ -443,7 +443,6 @@ else()
|
||||||
julian
|
julian
|
||||||
bufr_check_descriptors
|
bufr_check_descriptors
|
||||||
grib_sh_imag
|
grib_sh_imag
|
||||||
grib_sh_spectral_complex
|
|
||||||
grib_2nd_order_numValues
|
grib_2nd_order_numValues
|
||||||
grib_sh_ieee64)
|
grib_sh_ieee64)
|
||||||
|
|
||||||
|
|
|
@ -15,13 +15,13 @@ label="grib_spectral_test"
|
||||||
output=output.$label.grib
|
output=output.$label.grib
|
||||||
input_complex=$ECCODES_SAMPLES_PATH/sh_ml_grib2.tmpl
|
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
|
rm -f $output
|
||||||
|
|
||||||
# Now try spectral simple
|
# Now try spectral simple
|
||||||
input_simple=$label.simple.grib
|
input_simple=$label.simple.grib
|
||||||
${tools_dir}/grib_set -rs packingType=spectral_simple $input_complex $input_simple
|
${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
|
rm -f $output $input_simple
|
Loading…
Reference in New Issue