Testing: expanded_descriptors with different ranks

This commit is contained in:
Shahram Najm 2024-02-03 19:49:31 +00:00
parent db7d9d0995
commit a5c78d4c18
1 changed files with 11 additions and 0 deletions

View File

@ -1276,6 +1276,17 @@ cat > $fRules <<EOF
EOF
${tools_dir}/codes_bufr_filter $fRules airc_142.bufr
# Various expanded descriptors
f="$ECCODES_SAMPLES_PATH/BUFR4.tmpl"
cat > $fRules <<EOF
meta expandedReferences expanded_descriptors(elemetsTable,expandedCodes,2);
meta expandedWidths expanded_descriptors(elemetsTable,expandedCodes,3);
meta expandedType expanded_descriptors(elemetsTable,expandedCodes,4);
print "r=[expandedReferences]";
print "w=[expandedWidths]";
print "t=[expandedType]";
EOF
${tools_dir}/codes_bufr_filter $fRules $f > $fLog
# Clean up