netcdf-c/nc_test
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
..
CMakeLists.txt Updating for Windows Large File Support. 2013-10-16 16:44:11 -06:00
error.c moving to trunk subdir 2010-06-03 13:24:43 +00:00
error.h moving to trunk subdir 2010-06-03 13:24:43 +00:00
large_files.c Fix contributed by Nath Gopalaswamy to large file problem reading 2013-05-31 20:18:18 +00:00
Make0 diskless: make read and write loop to read/write whole file when persisting 2012-04-09 22:03:02 +00:00
make_test_file.sh moving to trunk subdir 2010-06-03 13:24:43 +00:00
Makefile.am [NCF-273]/HZY-708311 2013-12-22 12:53:20 -07:00
nc_enddef.c moving to trunk subdir 2010-06-03 13:24:43 +00:00
nc_enddef.cdl moving to trunk subdir 2010-06-03 13:24:43 +00:00
nc_sync_child.c moving to trunk subdir 2010-06-03 13:24:43 +00:00
nc_sync.c moving to trunk subdir 2010-06-03 13:24:43 +00:00
nc_sync.cdl moving to trunk subdir 2010-06-03 13:24:43 +00:00
nc_sync.h moving to trunk subdir 2010-06-03 13:24:43 +00:00
nc_test.c win32/mingw fixes 2012-05-15 03:13:08 +00:00
nc_test.html moving to trunk subdir 2010-06-03 13:24:43 +00:00
quick_large_files.c Removed stray (but harmless) debugging info. Updated windows-binaries documentation to allow both latest stable release as well as latest release candidate. 2013-08-29 15:48:03 -06:00
ref_tst_diskless2.cdl - Implemented diskless files for both netcdf classic and extended. 2012-03-26 01:34:32 +00:00
run_diskless2.sh diskless: make read and write loop to read/write whole file when persisting 2012-04-09 22:03:02 +00:00
run_diskless.sh Delete obsolete libdiskless directory, replaced by new diskless 2012-06-12 21:50:02 +00:00
run_mmap.sh add NC_MMAP flag and tests 2012-06-23 19:25:49 +00:00
run_pnetcdf_test.sh merge trunk into this branch 2013-03-15 20:31:07 +00:00
run_valgrind_tests.sh Fixed dap memory leaks 2010-12-17 23:54:09 +00:00
t_nc.c [NCF-273]/HZY-708311 2013-12-22 12:53:20 -07:00
test_get.c Including .c files generated from .m4 to accomodate 2012-10-02 16:45:27 +00:00
test_get.m4 moving to trunk subdir 2010-06-03 13:24:43 +00:00
test_put.c Including .c files generated from .m4 to accomodate 2012-10-02 16:45:27 +00:00
test_put.m4 Fix non-portable test that depends on nonstandardized floating-point format using e+08, not e+008. Fixes for some problems reported in scan-build static analysis. 2012-04-23 23:59:24 +00:00
test_read.c Fix non-portable test that depends on nonstandardized floating-point format using e+08, not e+008. Fixes for some problems reported in scan-build static analysis. 2012-04-23 23:59:24 +00:00
test_write.c Refactored read_scale(), memio_new(), var_create_dataset() and makespecial() 2013-12-08 03:29:26 -06:00
testnc3perf.c added nc3 performance test 2012-01-19 20:17:40 +00:00
tests.h Correcting an arithmetic error present in nc_test under gcc on Windows. 2012-08-22 19:19:04 +00:00
tst_atts3.c 1) fix some minor bugs when pnetcdf is enabled 2)Comment out some apparently unused procedures 2013-03-25 17:12:50 +00:00
tst_atts.c Fixed bug "adding a bad _FillValue" bug (NCF-190). Fixed minor bugs 2012-08-16 18:31:48 +00:00
tst_big_rvar.c Merge from latest netcdf-cmake branch. 2012-12-05 18:35:42 +00:00
tst_big_var2.c Removed a debug statement. 2013-11-04 13:34:20 -07:00
tst_big_var6.c Merge from latest netcdf-cmake branch. 2012-12-05 18:35:42 +00:00
tst_big_var.c Removed all void functions from tst programs. Thanks to solaris C compiler for being sensitive enough to notice this sort of thing. 2011-01-03 15:41:20 +00:00
tst_diskless2.c Fix non-portable test that depends on nonstandardized floating-point format using e+08, not e+008. Fixes for some problems reported in scan-build static analysis. 2012-04-23 23:59:24 +00:00
tst_diskless3.c add NC_MMAP flag and tests 2012-06-23 19:25:49 +00:00
tst_diskless4.c Rebuilt the compose operation in dceconstraints.c. The 2013-04-19 19:55:43 +00:00
tst_diskless.c Minor fixes (dead code) to correct errors found by Coverity 2012-07-30 21:49:16 +00:00
tst_formatx_pnetcdf.c [NCF-273]/HZY-708311 2013-12-22 12:53:20 -07:00
tst_large.c Removed all void functions from tst programs. Thanks to solaris C compiler for being sensitive enough to notice this sort of thing. 2011-01-03 15:41:20 +00:00
tst_misc.c Merged latest changes from cmake branch. Fixed a test file, and changed a deallocation call to avoid throwing an error on Windows related to cross-dll memory-management. 2012-12-07 23:21:27 +00:00
tst_names.c - Implemented diskless files for both netcdf classic and extended. 2012-03-26 01:34:32 +00:00
tst_nofill2.c Updated CMake files, added a few changes to fix linux-based compile warnings. 2012-08-07 21:34:55 +00:00
tst_nofill3.c Add nofill bug test that uses nc_create() rather than nc__create(). 2011-05-17 21:02:28 +00:00
tst_nofill.c Updated CMake files, added a few changes to fix linux-based compile warnings. 2012-08-07 21:34:55 +00:00
tst_norm.c moving to trunk subdir 2010-06-03 13:24:43 +00:00
tst_parallel2.c merge trunk into this branch 2013-03-15 20:31:07 +00:00
tst_pnetcdf.c merge trunk into this branch 2013-03-15 20:31:07 +00:00
tst_small.c [NCF-273]/HZY-708311 2013-12-22 12:53:20 -07:00
util.c Refactored read_scale(), memio_new(), var_create_dataset() and makespecial() 2013-12-08 03:29:26 -06:00