mirror of
https://github.com/Unidata/netcdf-c.git
synced 2024-12-27 08:49:16 +08:00
8e6beda671
NetCDF-c Github issue #178 / esupport BNL-694121 The ncgen man pages says: > Note also that the words variable',dimension', data',group', and > `types' are legal CDL names, but be careful that there is a space be- > tween them and any following colon character when used as a variable > name. This is mostly an issue with attribute declarations. Ncdump does not obey this rule. The fix is to modify ncdump/ncdump.c to check if a variable name is a keyword. Also added test case.
9 lines
92 B
Plaintext
9 lines
92 B
Plaintext
netcdf ref_keyword {
|
|
variables:
|
|
int data ;
|
|
data :_FillValue = 0 ;
|
|
data:
|
|
|
|
data = 177 ;
|
|
}
|