mirror of
https://github.com/Unidata/netcdf-c.git
synced 2024-12-09 08:11:38 +08:00
dc9e31df68
The problem was that for opendap, it is possible to use keywords as identifiers when there is no ambiguity. However, the DAP2 parser lost the case of the identifier used the lower case version. Fix is to use the actual text of the symbol when it is used as an identifier. Also added a test case for this (kwcase.*). Additionally cleaned up some misc. dap2 testing problems. 1. ncdap_test/tst_ncdap3.sh was using an empty test set. restored the testing of datasets. 2. as a consequence of #1, some tests needed to be updated with minor tweeks. 3. fix dapmerge to handle multiple DODS_EXTRAS attributes. 4. modify buildattribute to suppress nul characters and terminate the name at the first nul. 5. clean up various test scripts to remove residual, unused references to obsolete netcdf-4 translation. 6. export e.g. NCDUMP from test_common.in so that non-top-level shell scripts can access it.
34 lines
467 B
Plaintext
34 lines
467 B
Plaintext
netcdf test {
|
|
dimensions:
|
|
exp.f_0 = 2 ;
|
|
exp.f_1 = 2 ;
|
|
exp.g_0 = 3 ;
|
|
exp.g_1 = 3 ;
|
|
exp.g_2 = 3 ;
|
|
variables:
|
|
int exp.j ;
|
|
int exp.i ;
|
|
short exp.g(exp.g_0, exp.g_1, exp.g_2) ;
|
|
short exp.f(exp.f_0, exp.f_1) ;
|
|
data:
|
|
|
|
exp.j = 1 ;
|
|
|
|
exp.i = 2 ;
|
|
|
|
exp.g =
|
|
0, 256, 512,
|
|
768, 1024, 1280,
|
|
1536, 1792, 2048,
|
|
2304, 2560, 2816,
|
|
3072, 3328, 3584,
|
|
3840, 4096, 4352,
|
|
4608, 4864, 5120,
|
|
5376, 5632, 5888,
|
|
6144, 6400, 6656 ;
|
|
|
|
exp.f =
|
|
0, 256,
|
|
512, 768 ;
|
|
}
|