diff --git a/data/CMakeLists.txt b/data/CMakeLists.txt index 31b0c641c..8fed17082 100644 --- a/data/CMakeLists.txt +++ b/data/CMakeLists.txt @@ -10,9 +10,10 @@ add_subdirectory(gts) file(READ "grib_data_files.txt" files_to_download) string(REGEX REPLACE "\n" ";" files_to_download "${files_to_download}") -# Download the CCSDS file even if HAVE_AEC feature is disabled. +# Download the CCSDS files even if HAVE_AEC feature is disabled. # This is for testing (See ECC-1352) list(APPEND files_to_download ccsds.grib2) +list(APPEND files_to_download ccsds_szip.grib2) # See ECC-1362 if( ENABLE_EXTRA_TESTS ) diff --git a/tests/grib_ccsds.sh b/tests/grib_ccsds.sh index d94004ec1..dd7c902eb 100755 --- a/tests/grib_ccsds.sh +++ b/tests/grib_ccsds.sh @@ -101,5 +101,12 @@ ${tools_dir}/grib_compare -b $BLACKLIST $infile $outfile1 ${tools_dir}/grib_compare -c data:n $outfile1 $outfile2 +# ECC-1362 +# --------- +infile=${data_dir}/ccsds_szip.grib2 +res=`${tools_dir}/grib_get '-F%.3f' -p min,max,avg $infile` +[ "$res" = "-180.000 180.000 -0.044" ] + + # Clean up rm -f $outfile1 $outfile2