netcdf-c/ncdump
dmh c99058741a [NCF-265]
Ncgen is unable to resolve
ambiguous references to an enum
constant when two different enums
have same econstant name.

Solved by allowing more specific
forms for econstant references.
1. /.../enumname.enumconstname
2. enumname.enumconstname
3. enumconstname

Case 1 is resolved by using the econstant
in the specific enum definition. If none is
found, an error is reported.

Case 2 is resolved by
1. finding an enclosing group with an
   enum definition with the specified name
   and containing the specified econstant.
   If there are more than one, then an error is reported
2. finding all enum definitions in the dataset that have
   the specified enum name and contain the specified
   econstant. If more than one is found, then an error is reported.
If the above two methods fail, then report an error.

Case 3 is similar to case 2, but all enums, irrespective
of name are used if they contains the specified enum constant.

The ref_tst_econst.cdl test in ncdump is causing ncdump
to fail. So there may be yet some problem.
2013-09-20 20:43:09 -06:00
..
cdl4 [NCF-265] 2013-09-20 20:43:09 -06:00
expected4 [NCF-265] 2013-09-20 20:43:09 -06:00
cdl.h moving to trunk subdir 2010-06-03 13:24:43 +00:00
chunkspec.c Fix unnecessary tests and other minor problems in ncdump identified by Coverity. 2012-07-31 22:17:42 +00:00
chunkspec.h Fix nccopy chunking and rechunking functionality when copying classic files with custom chunking specified for netCDF-4 output. 2011-01-09 21:41:07 +00:00
CMakeLists.txt Updating CMakeLists.txt to address RPATH problem on OSX. 2013-08-22 11:15:12 -06:00
ctest64.c Updating generate documentation to reference GitHub. 2013-08-07 16:13:18 -06:00
ctest.c Updating generate documentation to reference GitHub. 2013-08-07 16:13:18 -06:00
ctests.sh move from oc1.0 to oc2.0; create new dir oc2 2012-07-31 20:34:13 +00:00
depend moving to trunk subdir 2010-06-03 13:24:43 +00:00
dimmap.c Fix nccopy chunking and rechunking functionality when copying classic files with custom chunking specified for netCDF-4 output. 2011-01-09 21:41:07 +00:00
dimmap.h Fix nccopy chunking and rechunking functionality when copying classic files with custom chunking specified for netCDF-4 output. 2011-01-09 21:41:07 +00:00
dumplib.c Quincey's fixes for NCF-56, "netcdf-4 can't read HDF5 scalar atts". 2013-07-10 20:09:31 +00:00
dumplib.h Define macro for NIL string value in ncdump/dumplib.h 2013-07-10 20:56:24 +00:00
indent.c Fixed bug NCF-144 (ncdump of variables with multiple unlimited 2012-11-16 21:37:43 +00:00
indent.h moving to trunk subdir 2010-06-03 13:24:43 +00:00
isnan.h moving to trunk subdir 2010-06-03 13:24:43 +00:00
Makefile.am Modified Makefile.am to not remove ctest.c, ctest64.c. This may be reverted by for now leaving ctest.c, ctest64.c in source repository. 2013-08-07 16:31:13 -06:00
nccomps.h Fixed bug NCF-144 (ncdump of variables with multiple unlimited 2012-11-16 21:37:43 +00:00
nccopy.1 Update nccopy documentation for -v and -g options 2013-04-25 20:50:59 +00:00
nccopy.c Update nccopy documentation for -v and -g options 2013-04-25 20:50:59 +00:00
ncdump.1 Fix typo in configure.ac. Also, if we have to have multiple copies of 2012-05-09 17:21:32 +00:00
ncdump.c Quincey's fixes for NCF-56, "netcdf-4 can't read HDF5 scalar atts". 2013-07-10 20:09:31 +00:00
ncdump.h Fixed bug NCF-144 (ncdump of variables with multiple unlimited 2012-11-16 21:37:43 +00:00
nciter.c Merged latest from netCDF-cmake branch in preparation for 4.3.0 release. 2013-04-23 21:50:07 +00:00
nciter.h Refactor to share functions between ncdump and nccopy. Merge nccopy 2013-01-23 17:45:29 +00:00
nctime0.c Fixed bug NCF-144 (ncdump of variables with multiple unlimited 2012-11-16 21:37:43 +00:00
nctime0.h Fix Coverity complaint about passing big parameter by value 2012-08-17 22:00:36 +00:00
ref1.ncml moving to trunk subdir 2010-06-03 13:24:43 +00:00
ref_ctest1_nc4.cdl moving to trunk subdir 2010-06-03 13:24:43 +00:00
ref_ctest1_nc4c.cdl moving to trunk subdir 2010-06-03 13:24:43 +00:00
ref_ctest64.c moving to trunk subdir 2010-06-03 13:24:43 +00:00
ref_ctest.c moving to trunk subdir 2010-06-03 13:24:43 +00:00
ref_nc_test_netcdf4_4_0.nc Support Dave Allured's ncdump mods for time-valued attributes. Refactor all ncdump time code into nctime.c. Add '-i' option for strict ISO-8601 time notation. Fix backward compatibility test to not use DBL_MAX, which is the same as IEEE infinity when using only 15 significant digits of precision. Document ncdump time functionality in man page. 2011-09-12 21:31:08 +00:00
ref_nc_test_netcdf4.cdl Support Dave Allured's ncdump mods for time-valued attributes. Refactor all ncdump time code into nctime.c. Add '-i' option for strict ISO-8601 time notation. Fix backward compatibility test to not use DBL_MAX, which is the same as IEEE infinity when using only 15 significant digits of precision. Document ncdump time functionality in man page. 2011-09-12 21:31:08 +00:00
ref_times.cdl Fixed bug NCF-175: ncdump -t incorrectly interpreting units attribute 2012-06-07 18:14:02 +00:00
ref_tst_charfill.cdl add test for fix for Jira NCF-131 2011-12-13 03:08:56 +00:00
ref_tst_comp2.cdl moving to trunk subdir 2010-06-03 13:24:43 +00:00
ref_tst_comp.cdl moving to trunk subdir 2010-06-03 13:24:43 +00:00
ref_tst_compounds2.cdl moving to trunk subdir 2010-06-03 13:24:43 +00:00
ref_tst_compounds2.nc moving to trunk subdir 2010-06-03 13:24:43 +00:00
ref_tst_compounds3.cdl moving to trunk subdir 2010-06-03 13:24:43 +00:00
ref_tst_compounds3.nc moving to trunk subdir 2010-06-03 13:24:43 +00:00
ref_tst_compounds4.cdl moving to trunk subdir 2010-06-03 13:24:43 +00:00
ref_tst_compounds4.nc moving to trunk subdir 2010-06-03 13:24:43 +00:00
ref_tst_enum_data.cdl moving to trunk subdir 2010-06-03 13:24:43 +00:00
ref_tst_fillbug.cdl moving to trunk subdir 2010-06-03 13:24:43 +00:00
ref_tst_format_att_64.cdl moving to trunk subdir 2010-06-03 13:24:43 +00:00
ref_tst_format_att.cdl moving to trunk subdir 2010-06-03 13:24:43 +00:00
ref_tst_group_data_v23.cdl Clarified documentation for nc_inq_grp_ncid(), differentiating it from nc_inq_ncid(). Fixed problem returning values from functions declared void in some libsrc4/ test programs. Added test for bug in ncdump for dimensions with same name in nested groups, and fix for bug. Fixed nccopy bug involving dimensions with smae name in nested groups. Added code for specifying chunking by dimension to nccopy (but not implemented yet). 2010-12-30 18:17:04 +00:00
ref_tst_group_data.cdl Clarified documentation for nc_inq_grp_ncid(), differentiating it from nc_inq_ncid(). Fixed problem returning values from functions declared void in some libsrc4/ test programs. Added test for bug in ncdump for dimensions with same name in nested groups, and fix for bug. Fixed nccopy bug involving dimensions with smae name in nested groups. Added code for specifying chunking by dimension to nccopy (but not implemented yet). 2010-12-30 18:17:04 +00:00
ref_tst_grp_spec0.cdl Add -g option to ncdump and test it 2011-09-21 23:10:03 +00:00
ref_tst_grp_spec.cdl Add -g option to ncdump and test it 2011-09-21 23:10:03 +00:00
ref_tst_mud4.cdl Fixed bug NCF-144 (ncdump of variables with multiple unlimited 2012-11-16 21:37:43 +00:00
ref_tst_nans.cdl moving to trunk subdir 2010-06-03 13:24:43 +00:00
ref_tst_ncf213.cdl 1) fix out of date ncgentab/ncgenyy files 2)fix Jira-ncf213 bug and add test case 2013-01-03 20:45:34 +00:00
ref_tst_noncoord.cdl moving to trunk subdir 2010-06-03 13:24:43 +00:00
ref_tst_opaque_data.cdl moving to trunk subdir 2010-06-03 13:24:43 +00:00
ref_tst_small.cdl moving to trunk subdir 2010-06-03 13:24:43 +00:00
ref_tst_solar_1.cdl moving to trunk subdir 2010-06-03 13:24:43 +00:00
ref_tst_solar_2.cdl Fix ncdump bug displaying NC_USHORT attribute values as NC_SHORT in netCDF-4 files. Add test for fix. 2011-06-24 04:51:11 +00:00
ref_tst_special_atts3.cdl moving to trunk subdir 2010-06-03 13:24:43 +00:00
ref_tst_special_atts.cdl moving to trunk subdir 2010-06-03 13:24:43 +00:00
ref_tst_string_data.cdl Fix NCF-186, ncdump bug not escaping quotes and newlines in string data 2012-08-03 04:40:06 +00:00
ref_tst_unicode.cdl moving to trunk subdir 2010-06-03 13:24:43 +00:00
ref_tst_utf8.cdl moving to trunk subdir 2010-06-03 13:24:43 +00:00
ref_tst_vlen_data2.cdl premerge 2012-01-29 18:50:02 +00:00
ref_tst_vlen_data.cdl moving to trunk subdir 2010-06-03 13:24:43 +00:00
rewrite-scalar.c moving to trunk subdir 2010-06-03 13:24:43 +00:00
run_back_comp_tests.sh Update CMake scripts 2012-08-10 19:31:45 +00:00
run_tests.sh Corrected a few windows-related errors. 2012-08-08 16:04:11 +00:00
run_utf8_tests.sh Update CMake scripts 2012-08-10 19:31:45 +00:00
small2.cdl moving to trunk subdir 2010-06-03 13:24:43 +00:00
small.cdl moving to trunk subdir 2010-06-03 13:24:43 +00:00
test0.cdl add test for fix for Jira NCF-131 2011-12-13 03:08:56 +00:00
tst_64bit.sh Update CMake scripts 2012-08-10 19:31:45 +00:00
tst_brecs.cdl Allow double NaNs and Infinities in double to double conversions. Add tests for nccopy deflation, shuffling, and dimension-fixing options. Add man-page documentation for new nccopy topions, with examples. Run tst_nccopy3.sh test even for netCDF-4 builds. 2010-08-31 22:41:00 +00:00
tst_calendars.cdl Fixed bug NCF-175: ncdump -t incorrectly interpreting units attribute 2012-06-07 18:14:02 +00:00
tst_calendars.sh Update CMake scripts 2012-08-10 19:31:45 +00:00
tst_charfill.cdl add test for fix for Jira NCF-131 2011-12-13 03:08:56 +00:00
tst_charfill.sh Update CMake scripts 2012-08-10 19:31:45 +00:00
tst_chunking.c Delete obsolete libdiskless directory, replaced by new diskless 2012-06-12 21:50:02 +00:00
tst_comp2.c moving to trunk subdir 2010-06-03 13:24:43 +00:00
tst_comp.c moving to trunk subdir 2010-06-03 13:24:43 +00:00
tst_compress.c Fix ncdump/tst_compress bug that shows up on Solaris systems. Fix default variable chunksize algorithm. 2011-06-23 17:15:01 +00:00
tst_create_files.c Fix ncdump bug displaying NC_USHORT attribute values as NC_SHORT in netCDF-4 files. Add test for fix. 2011-06-24 04:51:11 +00:00
tst_enum_data.c 2012-09-24 20:48:12 +00:00
tst_fillbug.c Refactor to share functions between ncdump and nccopy. Merge nccopy 2013-01-23 17:45:29 +00:00
tst_fillbug.sh Merged latest changes from trunk, including deletion of win32 directory. 2012-06-13 19:29:01 +00:00
tst_group_data.c Factor out common functionality in ncdump and nccopy and share between them. 2011-01-05 23:48:47 +00:00
tst_grp_spec.sh Update CMake scripts 2012-08-10 19:31:45 +00:00
tst_h_rdc0.c Refactor to share functions between ncdump and nccopy. Merge nccopy 2013-01-23 17:45:29 +00:00
tst_h_scalar.c Forgot to add and commit new test program. 2013-07-10 21:06:12 +00:00
tst_h_scalar.sh Fixed a couple of CMake related testing issues. 2013-07-11 16:50:51 +00:00
tst_iter.sh Merged latest changes from trunk, including deletion of win32 directory. 2012-06-13 19:29:01 +00:00
tst_lengths.sh Update CMake scripts 2012-08-10 19:31:45 +00:00
tst_mslp.cdl moving to trunk subdir 2010-06-03 13:24:43 +00:00
tst_mud.sh Fixed bug NCF-144 (ncdump of variables with multiple unlimited 2012-11-16 21:37:43 +00:00
tst_nans.c Fixed infinite declaration in a test to work across Windows, Linux, OSX. 2012-09-24 15:49:44 +00:00
tst_nccopy3.sh Update CMake scripts 2012-08-10 19:31:45 +00:00
tst_nccopy4.sh Delete obsolete libdiskless directory, replaced by new diskless 2012-06-12 21:50:02 +00:00
tst_ncgen4_classic.sh Delete obsolete libdiskless directory, replaced by new diskless 2012-06-12 21:50:02 +00:00
tst_ncgen4_cycle.sh 1) fix out of date ncgentab/ncgenyy files 2)fix Jira-ncf213 bug and add test case 2013-01-03 20:45:34 +00:00
tst_ncgen4_diff.sh 1. synch changes with oc2.0 2013-06-26 18:55:30 +00:00
tst_ncgen4_shared.sh [NCF-265] 2013-09-20 20:43:09 -06:00
tst_ncgen4.sh [NCF-265] 2013-09-20 20:43:09 -06:00
tst_ncml.cdl moving to trunk subdir 2010-06-03 13:24:43 +00:00
tst_netcdf4_4.sh 1) fix out of date ncgentab/ncgenyy files 2)fix Jira-ncf213 bug and add test case 2013-01-03 20:45:34 +00:00
tst_netcdf4.sh fix == in shell scripts 2012-07-17 20:13:17 +00:00
tst_opaque_data.c moving to trunk subdir 2010-06-03 13:24:43 +00:00
tst_output.sh Update CMake scripts 2012-08-10 19:31:45 +00:00
tst_special_atts.c moving to trunk subdir 2010-06-03 13:24:43 +00:00
tst_string_data.c Fix NCF-186, ncdump bug not escaping quotes and newlines in string data 2012-08-03 04:40:06 +00:00
tst_unicode.c moving to trunk subdir 2010-06-03 13:24:43 +00:00
tst_utf8.c Refactor to share functions between ncdump and nccopy. Merge nccopy 2013-01-23 17:45:29 +00:00
tst_vlen_data.c moving to trunk subdir 2010-06-03 13:24:43 +00:00
utils.c Refactor to share functions between ncdump and nccopy. Merge nccopy 2013-01-23 17:45:29 +00:00
utils.h Refactor to share functions between ncdump and nccopy. Merge nccopy 2013-01-23 17:45:29 +00:00
vardata.c Refactor to share functions between ncdump and nccopy. Merge nccopy 2013-01-23 17:45:29 +00:00
vardata.h Fixed bug NCF-144 (ncdump of variables with multiple unlimited 2012-11-16 21:37:43 +00:00
XGetopt.c Merge from latest netcdf-cmake branch. 2012-12-05 18:35:42 +00:00