-
Notifications
You must be signed in to change notification settings - Fork 266
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'ncgenkw.dmh' of https://github.com/DennisHeimbigner/net…
…cdf-c into gh1753.wif
- Loading branch information
Showing
11 changed files
with
2,076 additions
and
2,015 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
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,8 @@ | ||
netcdf keyword1 { | ||
dimensions: | ||
string = 128; | ||
int64 = 64; | ||
variables: | ||
int string(string); | ||
int int64(int64); | ||
} |
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,6 @@ | ||
netcdf keyword2 { | ||
dimensions: | ||
string = 128; | ||
variables: | ||
int string(string); | ||
} |
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,23 @@ | ||
#!/bin/sh | ||
|
||
if test "x$srcdir" = x ; then srcdir=`pwd`; fi | ||
. ../test_common.sh | ||
|
||
set -e | ||
|
||
echo "*** Test use of keywords for formats where the keyword is not defined" | ||
echo "*** classic: creating keyword1.nc from ref_keyword1.cdl..." | ||
${NCGEN} -3 -lb -o keyword1.nc $srcdir/ref_keyword1.cdl | ||
echo "*** creating tmp_keyword1.cdl from keyword1.nc..." | ||
${NCDUMP} -h keyword1.nc > tmp_keyword1.cdl | ||
echo "*** comparing tmp_keyword1.cdl to ref_keyword1.cdl..." | ||
diff -b -w tmp_keyword1.cdl $srcdir/ref_keyword1.cdl | ||
|
||
echo "*** cdf5: creating keyword2.nc from ref_keyword2.cdl..." | ||
${NCGEN} -5 -lb -o keyword2.nc $srcdir/ref_keyword2.cdl | ||
echo "*** creating tmp_keyword2.cdl from keyword2.nc..." | ||
${NCDUMP} -h keyword2.nc > tmp_keyword2.cdl | ||
echo "*** comparing tmp_keyword2.cdl to ref_keyword2.cdl..." | ||
diff -b -w tmp_keyword2.cdl $srcdir/ref_keyword2.cdl | ||
|
||
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
Oops, something went wrong.