Output file argument in wrong order.

This commit is contained in:
Matthew Griffith 2023-03-08 14:42:13 +00:00
parent 87f927c90e
commit 18d4fb2dbe
1 changed files with 1 additions and 1 deletions

View File

@ -29,7 +29,7 @@ grib_check_key_exists ${temp_grib_a} tileIndex,uuidOfDataGroup
# Check list is working correctly and that associated concept is working correctly
echo 'set numberOfUsedTileAttributesForTileAttributeCombination=2; set attributeOfTile={2, 4}; write;' | ${tools_dir}/grib_filter - ${temp_grib_a} -o ${temp_grib_b}
echo 'set numberOfUsedTileAttributesForTileAttributeCombination=2; set attributeOfTile={2, 4}; write;' | ${tools_dir}/grib_filter -o ${temp_grib_b} - ${temp_grib_a}
output=$(echo 'print "[attributeOfTile]";' | ${tools_dir}/grib_filter - ${temp_grib_b})
[ "$output" = "2 4" ]
[ "$(${tools_dir}/grib_get -p tileAttribute ${temp_grib_b})" = "SNOW_ICE" ]