diff --git a/tests/grib_ccsds.sh b/tests/grib_ccsds.sh index bb37f060c..13533ab90 100755 --- a/tests/grib_ccsds.sh +++ b/tests/grib_ccsds.sh @@ -22,6 +22,11 @@ logfile=temp.$label.log rm -f $outfile1 $outfile2 +# Debug info +ECCODES_DEBUG=-1 ${tools_dir}/grib_copy -r $infile $outfile1 > $logfile 2>&1 +grep -q "ECCODES DEBUG CCSDS .* aec_stream.flags" $logfile + + # Convert a non-constant grib2 file (Note: not using -r) grib2_sample=$ECCODES_SAMPLES_PATH/gg_sfc_grib2.tmpl ${tools_dir}/grib_set -s packingType=grid_ccsds $grib2_sample $outfile1 diff --git a/tests/grib_ecc-1212.sh b/tests/grib_ecc-1212.sh index e1f32e596..7ff7c2ead 100755 --- a/tests/grib_ecc-1212.sh +++ b/tests/grib_ecc-1212.sh @@ -112,6 +112,8 @@ ${tools_dir}/grib_filter -o $tempGrib $tempFilt $sample_grib2 grib_check_key_equals $tempGrib selectedFcIndex,step '1 4' grib_check_key_equals $tempGrib mars.date,mars.time '20220607 300' +${tools_dir}/grib_dump -Dat $tempGrib > $tempOut + for pdtn in 88 92 93 94 95 96 97 98; do ${tools_dir}/grib_set -s \ tablesVersion=30,productDefinitionTemplateNumber=$pdtn,numberOfForecastsUsedInLocalTime=1 \