netcdf-c/ncdump/expected
Dennis Heimbigner 8e6beda671 NetCDF-c Github issue #178
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.
2015-12-26 18:19:04 -07:00
..
c0.dmp ckp 2015-11-19 13:44:55 -07:00
CMakeLists.txt re: Jira NCF-309 2014-09-18 18:26:06 -06:00
example_good.dmp re: Jira NCF-309 2014-09-18 18:26:06 -06:00
fills.dmp re: Jira NCF-309 2014-09-18 18:26:06 -06:00
Makefile.am NetCDF-c Github issue #178 2015-12-26 18:19:04 -07:00
n3time.dmp re: Jira NCF-309 2014-09-18 18:26:06 -06:00
nc_enddef.dmp re: Jira NCF-309 2014-09-18 18:26:06 -06:00
nc_sync.dmp re: Jira NCF-309 2014-09-18 18:26:06 -06:00
pres_temp_4D.dmp re: Jira NCF-309 2014-09-18 18:26:06 -06:00
ref_const_test.dmp re: Jira NCF-309 2014-09-18 18:26:06 -06:00
ref_ctest1_nc4.dmp ckp 2015-11-19 13:44:55 -07:00
ref_ctest1_nc4c.dmp ckp 2015-11-19 13:44:55 -07:00
ref_dimscope.dmp re: Jira NCF-309 2014-09-18 18:26:06 -06:00
ref_keyword.dmp NetCDF-c Github issue #178 2015-12-26 18:19:04 -07:00
ref_nctst_64bit_offset.dmp re: Jira NCF-309 2014-09-18 18:26:06 -06:00
ref_nctst_netcdf4_classic.dmp re: Jira NCF-309 2014-09-18 18:26:06 -06:00
ref_nctst_netcdf4.dmp re: Jira NCF-309 2014-09-18 18:26:06 -06:00
ref_nctst.dmp re: Jira NCF-309 2014-09-18 18:26:06 -06:00
ref_niltest.dmp re: Jira NCF-309 2014-09-18 18:26:06 -06:00
ref_solar.dmp re: Jira NCF-309 2014-09-18 18:26:06 -06:00
ref_tst_chardata.dmp re: Jira NCF-309 2014-09-18 18:26:06 -06:00
ref_tst_comp2.dmp re: Jira NCF-309 2014-09-18 18:26:06 -06:00
ref_tst_comp3.dmp re: Jira NCF-309 2014-09-18 18:26:06 -06:00
ref_tst_comp.dmp re: Jira NCF-309 2014-09-18 18:26:06 -06:00
ref_tst_econst.dmp re: Jira NCF-309 2014-09-18 18:26:06 -06:00
ref_tst_enum_data.dmp re: Jira NCF-309 2014-09-18 18:26:06 -06:00
ref_tst_group_data.dmp re: Jira NCF-309 2014-09-18 18:26:06 -06:00
ref_tst_h_scalar.dmp re: Jira NCF-309 2014-09-18 18:26:06 -06:00
ref_tst_long_charconst.dmp re: Jira NCF-309 2014-09-18 18:26:06 -06:00
ref_tst_names.dmp re: Jira NCF-309 2014-09-18 18:26:06 -06:00
ref_tst_nans.dmp re: Jira NCF-309 2014-09-18 18:26:06 -06:00
ref_tst_nul3.dmp re: Jira NCF-309 2014-09-18 18:26:06 -06:00
ref_tst_nul4.dmp re: Jira NCF-309 2014-09-18 18:26:06 -06:00
ref_tst_opaque_data.dmp re: Jira NCF-309 2014-09-18 18:26:06 -06:00
ref_tst_small.dmp re: Jira NCF-309 2014-09-18 18:26:06 -06:00
ref_tst_solar_1.dmp ckp 2015-11-19 13:44:55 -07:00
ref_tst_solar_2.dmp re: Jira NCF-309 2014-09-18 18:26:06 -06:00
ref_tst_special_atts3.dmp re: Jira NCF-309 2014-09-18 18:26:06 -06:00
ref_tst_special_atts.dmp re: Jira NCF-309 2014-09-18 18:26:06 -06:00
ref_tst_string_data.dmp re: Jira NCF-309 2014-09-18 18:26:06 -06:00
ref_tst_unicode.dmp re: Jira NCF-309 2014-09-18 18:26:06 -06:00
ref_tst_unlim2.dmp re: Jira NCF-309 2014-09-18 18:26:06 -06:00
ref_tst_utf8.dmp re: Jira NCF-309 2014-09-18 18:26:06 -06:00
ref_tst_vlen_data2.dmp re: Jira NCF-309 2014-09-18 18:26:06 -06:00
ref_tst_vlen_data.dmp re: Jira NCF-309 2014-09-18 18:26:06 -06:00
ref_typescope.dmp re: Jira NCF-309 2014-09-18 18:26:06 -06:00
sfc_pres_temp.dmp re: Jira NCF-309 2014-09-18 18:26:06 -06:00
simple_xy.dmp re: Jira NCF-309 2014-09-18 18:26:06 -06:00
small2.dmp re: Jira NCF-309 2014-09-18 18:26:06 -06:00
small.dmp re: Jira NCF-309 2014-09-18 18:26:06 -06:00
test0.dmp re: Jira NCF-309 2014-09-18 18:26:06 -06:00
tst_chararray.dmp re: Jira NCF-309 2014-09-18 18:26:06 -06:00
tst_ncml.dmp re: Jira NCF-309 2014-09-18 18:26:06 -06:00
unlimtest1.dmp re: Jira NCF-309 2014-09-18 18:26:06 -06:00
unlimtest2.dmp re: Jira NCF-309 2014-09-18 18:26:06 -06:00