Skip to content

Commit

Permalink
Testing: MARS table uniqueness
Browse files Browse the repository at this point in the history
  • Loading branch information
shahramn committed Jan 9, 2025
1 parent 971f0e1 commit 979354e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/grib_mars_keys1.sh
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ diff $tempRef $tempOut
# -------------------------------
tables="$types_table $classes_table $streams_table"
for table in $tables; do
echo "Testing numeric codes in $table ..."
echo "Testing numeric codes are unique in $table ..."
awk '{print $1}' < $table > $tempOut
count1=`sort -u $tempOut | wc -l`
count2=`wc -l $tempOut | awk '{print $1}'`
Expand All @@ -99,7 +99,7 @@ done
# -------------------------------
tables="$types_table $classes_table $streams_table"
for table in $tables; do
echo "Testing abbreviations in $table ..."
echo "Testing abbreviations are unique in $table ..."
awk '{print $2}' < $table > $tempOut
count1=`sort -u $tempOut | wc -l`
count2=`wc -l $tempOut | awk '{print $1}'`
Expand Down

0 comments on commit 979354e

Please sign in to comment.