File tree Expand file tree Collapse file tree 2 files changed +7
-0
lines changed Expand file tree Collapse file tree 2 files changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -22,6 +22,11 @@ logfile=temp.$label.log
22
22
23
23
rm -f $outfile1 $outfile2
24
24
25
+ # Debug info
26
+ ECCODES_DEBUG=-1 ${tools_dir} /grib_copy -r $infile $outfile1 > $logfile 2>&1
27
+ grep -q " ECCODES DEBUG CCSDS .* aec_stream.flags" $logfile
28
+
29
+
25
30
# Convert a non-constant grib2 file (Note: not using -r)
26
31
grib2_sample=$ECCODES_SAMPLES_PATH /gg_sfc_grib2.tmpl
27
32
${tools_dir} /grib_set -s packingType=grid_ccsds $grib2_sample $outfile1
Original file line number Diff line number Diff line change @@ -112,6 +112,8 @@ ${tools_dir}/grib_filter -o $tempGrib $tempFilt $sample_grib2
112
112
grib_check_key_equals $tempGrib selectedFcIndex,step ' 1 4'
113
113
grib_check_key_equals $tempGrib mars.date,mars.time ' 20220607 300'
114
114
115
+ ${tools_dir} /grib_dump -Dat $tempGrib > $tempOut
116
+
115
117
for pdtn in 88 92 93 94 95 96 97 98; do
116
118
${tools_dir} /grib_set -s \
117
119
tablesVersion=30,productDefinitionTemplateNumber=$pdtn ,numberOfForecastsUsedInLocalTime=1 \
You can’t perform that action at this time.
0 commit comments