mirror of
https://github.com/Unidata/netcdf-c.git
synced 2024-12-09 08:11:38 +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.
10 lines
80 B
Plaintext
10 lines
80 B
Plaintext
netcdf file {
|
|
variables:
|
|
int data;
|
|
data : _FillValue = 0;
|
|
|
|
data:
|
|
|
|
data = 177;
|
|
}
|