mirror of
https://github.com/Unidata/netcdf-c.git
synced 2024-11-21 03:13:42 +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*). |
||
---|---|---|
.. | ||
expected3 | ||
expected4 | ||
expectremote3 | ||
expectremote4 | ||
expecttds3 | ||
nocacheremote3 | ||
nocacheremote4 | ||
special3 | ||
testdata3 | ||
CMakeLists.txt | ||
Makefile.am | ||
nctestserver.c | ||
run_ncdap_tests.sh | ||
t_auth.c | ||
t_dap3a.c | ||
t_dap3b.c | ||
t_dap3c.c | ||
t_dap4.c | ||
t_dap4a.c | ||
t_dap4c.c | ||
t_dap.c | ||
test_cvt.c | ||
test_nstride_cached.c | ||
test_partvar2.c | ||
test_partvar.c | ||
test_vara.c | ||
test_varm3.c | ||
tst_formatx.sh | ||
tst_longremote3.sh | ||
tst_longremote4.sh | ||
tst_ncdap3.sh | ||
tst_ncdap4.sh | ||
tst_ncdap_shared.sh | ||
tst_ncdap.sh | ||
tst_nocache3.sh | ||
tst_nocache4.sh | ||
tst_remote3.sh | ||
tst_remote4.sh | ||
tst_remote.sh | ||
tst_special.sh | ||
tst_tds.sh |