-
Notifications
You must be signed in to change notification settings - Fork 14
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
e4901a7
commit 24da50a
Showing
4 changed files
with
28 additions
and
7 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
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,18 @@ | ||
#!/bin/sh | ||
# This is an optional test script for the wgrib2 project. | ||
# Requires FTP_LARGE_TEST_FILES=ON | ||
# | ||
# Alyson Stahl, 4/17/24 | ||
|
||
set -e | ||
echo "" | ||
echo "*** Running wgrib2 tests on large FTP test files" | ||
|
||
echo "*** Running an inventory test on a large FTP test file" | ||
../wgrib2/wgrib2 data/rrfs.t18z.prslev.f000.grib2 > ftp_inv2.txt | ||
cat ftp_inv2.txt | ||
cmp ftp_inv2.txt data/ref_rrfs.t18z.prslev.f000.grib2.inv | ||
|
||
echo "*** SUCCESS!" | ||
exit 0 | ||
|
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 |
---|---|---|
@@ -1,21 +1,18 @@ | ||
#!/bin/sh | ||
# This is an optional test script for the wgrib2 project. | ||
# Requires FTP_TEST_FILES=ON | ||
# | ||
# Alyson Stahl, 4/17/24 | ||
|
||
set -e | ||
echo "" | ||
echo "*** Running wgrib2 tests on FTP test files" | ||
|
||
# Run an inventory on test files. | ||
echo "*** Running an inventory test with FTP test file" | ||
../wgrib2/wgrib2 data/WW3_Regional_US_West_Coast_20220718_0000.grib2 > ftp_inv1.txt | ||
cat ftp_inv1.txt | ||
cmp ftp_inv1.txt data/ref_WW3_Regional_US_West_Coast_20220718_0000.grib2.inv | ||
|
||
#../wgrib2/wgrib2 data/rrfs.t18z.prslev.f000.grib2 > ftp_inv2.txt | ||
#cat ftp_inv2.txt | ||
#cmp ftp_inv2.txt data/ref_rrfs.t18z.prslev.f000.grib2.inv | ||
|
||
echo "*** SUCCESS!" | ||
exit 0 | ||
|