netcdf-c/ncdump/cdl
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
..
bigf1.cdl
bigf2.cdl
bigf3.cdl
bigr1.cdl
bigr2.cdl
bigr3.cdl
c0.cdl
c0.jdl
CMakeLists.txt
example_good.cdl
fills.cdl
gfs1.cdl
Makefile.am NetCDF-c Github issue #178 2015-12-26 18:19:04 -07:00
n3time.cdl
nc_enddef.cdl
nc_sync.cdl
pres_temp_4D.cdl
ref_const_test.cdl
ref_ctest1_nc4.cdl
ref_ctest1_nc4.jdl
ref_ctest1_nc4c.cdl
ref_ctest1_nc4c.jdl
ref_dimscope.cdl
ref_keyword.cdl NetCDF-c Github issue #178 2015-12-26 18:19:04 -07:00
ref_nctst_64bit_offset.cdl
ref_nctst_netcdf4_classic.cdl
ref_nctst_netcdf4.cdl
ref_nctst.cdl
ref_niltest.cdl
ref_solar.cdl
ref_tst_chardata.cdl
ref_tst_comp2.cdl
ref_tst_comp3.cdl
ref_tst_comp.cdl
ref_tst_econst.cdl
ref_tst_enum_data.cdl
ref_tst_group_data.cdl
ref_tst_h_scalar.cdl
ref_tst_long_charconst.cdl
ref_tst_names.cdl
ref_tst_nans.cdl
ref_tst_nul3.cdl
ref_tst_nul4.cdl
ref_tst_opaque_data.cdl
ref_tst_small.cdl
ref_tst_solar_1.cdl
ref_tst_solar_2.cdl
ref_tst_special_atts3.cdl
ref_tst_special_atts.cdl
ref_tst_string_data.cdl
ref_tst_unicode.cdl
ref_tst_unlim2.cdl
ref_tst_utf8.cdl
ref_tst_vlen_data2.cdl
ref_tst_vlen_data.cdl
ref_typescope.cdl
sfc_pres_temp.cdl
simple_xy.cdl
small2.cdl
small.cdl
test0.cdl
tst_chararray.cdl
tst_ncml.cdl
unlimtest1.cdl
unlimtest2.cdl