-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8e09b8c
commit 6376b6f
Showing
2 changed files
with
21 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
#!/bin/sh | ||
# This is an optional test script for the wgrib2 project. | ||
# | ||
# Alyson Stahl, 4/18/24 | ||
|
||
set -e | ||
echo "" | ||
echo "*** Running wgrib2 tests" | ||
|
||
# Testing aec compression | ||
../wgrib2/wgrib2 data/gdaswave.t00z.wcoast.0p16.f000.grib2 -set_grib_type -grib_out test.aec.grib2 | ||
|
||
# Check grid data are identical | ||
../wgrib2/wgrib2 data/gdaswave.t00z.wcoast.0p16.f000.grib2 -rpn sto_1 -import_grib test.aec.grib2 -rpn "rcl_1:print_rms" | grep -v "rpn_rms=0:" | wc -l | ||
|
||
echo "*** SUCCESS!" | ||
exit 0 |