mirror of
https://github.com/Unidata/netcdf-c.git
synced 2025-01-30 16:10:44 +08:00
582410a407
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*). |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
error.c | ||
error.h | ||
large_files.c | ||
Make0 | ||
make_test_file.sh | ||
Makefile.am | ||
nc_enddef.c | ||
nc_enddef.cdl | ||
nc_sync_child.c | ||
nc_sync.c | ||
nc_sync.cdl | ||
nc_sync.h | ||
nc_test.c | ||
nc_test.html | ||
quick_large_files.c | ||
ref_tst_diskless2.cdl | ||
run_diskless2.sh | ||
run_diskless.sh | ||
run_mmap.sh | ||
run_pnetcdf_test.sh | ||
run_valgrind_tests.sh | ||
t_nc.c | ||
test_get.c | ||
test_get.m4 | ||
test_put.c | ||
test_put.m4 | ||
test_read.c | ||
test_write.c | ||
testnc3perf.c | ||
tests.h | ||
tst_atts3.c | ||
tst_atts.c | ||
tst_big_rvar.c | ||
tst_big_var2.c | ||
tst_big_var6.c | ||
tst_big_var.c | ||
tst_diskless2.c | ||
tst_diskless3.c | ||
tst_diskless4.c | ||
tst_diskless.c | ||
tst_formatx_pnetcdf.c | ||
tst_large.c | ||
tst_misc.c | ||
tst_names.c | ||
tst_nofill2.c | ||
tst_nofill3.c | ||
tst_nofill.c | ||
tst_norm.c | ||
tst_parallel2.c | ||
tst_pnetcdf.c | ||
tst_small.c | ||
util.c |