netcdf-c/ncdump
dmh 582410a407 [NCF-273]/HZY-708311
Add a new function called nc_inq_format_extended that
returns more detailed format information (vis-a-vis
nc_inq_format) about an open dataset.

Note that the netcdf API will present the file as if it had
the format specified by nc_inq_format.  The true file
format, however, may not even be a netcdf file; it might be
DAP, HDF4, or PNETCDF, for example. This function returns
that true file type.  It also returns the effective mode for
the file.

signature: nc_inq_format_extended(int ncid, int* formatp, int* modep)
where
* ncid is the NetCDF ID from a previous call to nc_open() or
  nc_create().
* formatp is a pointer to a location for returned true format.
* modep is a pointer to a location for returned mode flags.

Refer to the actual list in the file netcdf.h to see the
currently defined set.

Also added test cases (tst_formatx*).
2013-12-22 12:53:20 -07:00
..
cdl4 [NCF-280]/TLO-836022 2013-11-19 21:58:56 -07:00
expected4 [NCF-280]/TLO-836022 2013-11-19 21:58:56 -07:00
cdl.h
chunkspec.c Fix unnecessary tests and other minor problems in ncdump identified by Coverity. 2012-07-31 22:17:42 +00:00
chunkspec.h
CMakeLists.txt 1. [NCF-276]/XXI-796914 2013-11-17 14:26:14 -07:00
ctest64.c [NCF-273]/HZY-708311 2013-12-22 12:53:20 -07:00
ctest.c [NCF-273]/HZY-708311 2013-12-22 12:53:20 -07:00
ctests.sh move from oc1.0 to oc2.0; create new dir oc2 2012-07-31 20:34:13 +00:00
depend
dimmap.c
dimmap.h
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
isnan.h
Makefile.am [NCF-273]/HZY-708311 2013-12-22 12:53:20 -07: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 [NCF-273]/HZY-708311 2013-12-22 12:53:20 -07:00
ncdump.h [NCF-273]/HZY-708311 2013-12-22 12:53:20 -07: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
ref_ctest1_nc4.cdl 1. [NCF-276]/XXI-796914 2013-11-17 14:26:14 -07:00
ref_ctest1_nc4c.cdl
ref_ctest64.c
ref_ctest.c
ref_nc_test_netcdf4_4_0.nc
ref_nc_test_netcdf4.cdl
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
ref_tst_comp2.cdl
ref_tst_comp.cdl
ref_tst_compounds2.cdl
ref_tst_compounds2.nc
ref_tst_compounds3.cdl
ref_tst_compounds3.nc
ref_tst_compounds4.cdl
ref_tst_compounds4.nc
ref_tst_enum_data.cdl
ref_tst_fillbug.cdl
ref_tst_format_att_64.cdl
ref_tst_format_att.cdl
ref_tst_group_data_v23.cdl
ref_tst_group_data.cdl
ref_tst_grp_spec0.cdl
ref_tst_grp_spec.cdl
ref_tst_mud4-bc.cdl Add reference file for ncdump -bc test 2013-11-13 13:45:20 -07: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
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
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 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
ref_tst_utf8.cdl
ref_tst_vlen_data2.cdl
ref_tst_vlen_data.cdl
rewrite-scalar.c
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
small.cdl
test0.cdl [NCF-267]/SAI-630695 2013-09-23 17:11:59 -06:00
tst_64bit.sh Update CMake scripts 2012-08-10 19:31:45 +00:00
tst_brecs.cdl
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
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
tst_comp.c
tst_compress.c
tst_create_files.c
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_formatx3.sh [NCF-273]/HZY-708311 2013-12-22 12:53:20 -07:00
tst_formatx4.sh [NCF-273]/HZY-708311 2013-12-22 12:53:20 -07:00
tst_group_data.c
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
tst_mud.sh Add ncdump brief annotation test using -bc option 2013-11-13 13:44:03 -07: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-273]/HZY-708311 2013-12-22 12:53:20 -07:00
tst_ncgen4.sh [NCF-265] 2013-09-20 20:43:09 -06:00
tst_ncml.cdl
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 1. [NCF-276]/XXI-796914 2013-11-17 14:26:14 -07:00
tst_opaque_data.c
tst_output.sh Update CMake scripts 2012-08-10 19:31:45 +00:00
tst_special_atts.c
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
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
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 Fix for bug NCF-275, ncdump -b annotation 2013-11-13 11:03:18 -07: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